// ****************************************************************************** 
// Copyright     :  Copyright (C) 2018, Hisilicon Technologies Co. Ltd.
// File name     :  smmu_c_union_define.h
// Project line  :  Platform And Key Technologies Development
// Department    :  CAD Development Department
// Author        :  gaojianbo
// Version       :  1
// Date          :  2016/6/6
// Description   :  The description of xxx project
// Others        :  Generated automatically by nManager V4.2 
// History       :  gaojianbo 2018/04/10 11:38:00 Create file
// ******************************************************************************

#ifndef __SMMU_C_UNION_DEFINE_H__
#define __SMMU_C_UNION_DEFINE_H__

/* Define the union U_SMMU_IDR0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_0       : 2  ; /* [31:30] */
        unsigned int    ras         : 1  ; /* [29] */
        unsigned int    st_level    : 2  ; /* [28:27] */
        unsigned int    term_model  : 1  ; /* [26] */
        unsigned int    stall_model : 2  ; /* [25:24] */
        unsigned int    rsv_1       : 1  ; /* [23] */
        unsigned int    ttendian    : 2  ; /* [22:21] */
        unsigned int    vatos       : 1  ; /* [20] */
        unsigned int    cd2l        : 1  ; /* [19] */
        unsigned int    vmid16      : 1  ; /* [18] */
        unsigned int    vmw         : 1  ; /* [17] */
        unsigned int    pri         : 1  ; /* [16] */
        unsigned int    atos        : 1  ; /* [15] */
        unsigned int    sev         : 1  ; /* [14] */
        unsigned int    msi         : 1  ; /* [13] */
        unsigned int    asid16      : 1  ; /* [12] */
        unsigned int    ns1ats      : 1  ; /* [11] */
        unsigned int    ats         : 1  ; /* [10] */
        unsigned int    hyp         : 1  ; /* [9] */
        unsigned int    dormhint    : 1  ; /* [8] */
        unsigned int    httu        : 2  ; /* [7:6] */
        unsigned int    btm         : 1  ; /* [5] */
        unsigned int    cohacc      : 1  ; /* [4] */
        unsigned int    ttf         : 2  ; /* [3:2] */
        unsigned int    s1p         : 1  ; /* [1] */
        unsigned int    s2p         : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_IDR0;

/* Define the union U_SMMU_IDR1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_2          : 1  ; /* [31] */
        unsigned int    tables_preset  : 1  ; /* [30] */
        unsigned int    queues_preset  : 1  ; /* [29] */
        unsigned int    rel            : 1  ; /* [28] */
        unsigned int    attr_types_ovr : 1  ; /* [27] */
        unsigned int    attr_perms_ovr : 1  ; /* [26] */
        unsigned int    cmdqs          : 5  ; /* [25:21] */
        unsigned int    eventqs        : 5  ; /* [20:16] */
        unsigned int    priqs          : 5  ; /* [15:11] */
        unsigned int    ssidsize       : 5  ; /* [10:6] */
        unsigned int    sidsize        : 6  ; /* [5:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_IDR1;

/* Define the union U_SMMU_IDR2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_3    : 22  ; /* [31:10] */
        unsigned int    ba_vatos : 10  ; /* [9:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_IDR2;

/* Define the union U_SMMU_IDR3 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_4 : 29  ; /* [31:3] */
        unsigned int    had   : 1  ; /* [2] */
        unsigned int    rsv_5 : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_IDR3;

/* Define the union U_SMMU_IDR4 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_6 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_IDR4;

/* Define the union U_SMMU_IDR5 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    stall_max : 16  ; /* [31:16] */
        unsigned int    rsv_7     : 9  ; /* [15:7] */
        unsigned int    gran64k   : 1  ; /* [6] */
        unsigned int    gran16k   : 1  ; /* [5] */
        unsigned int    gran4k    : 1  ; /* [4] */
        unsigned int    rsv_8     : 1  ; /* [3] */
        unsigned int    oas       : 3  ; /* [2:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_IDR5;

/* Define the union U_SMMU_IIDR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    productid   : 12  ; /* [31:20] */
        unsigned int    variant     : 4  ; /* [19:16] */
        unsigned int    revision    : 4  ; /* [15:12] */
        unsigned int    implementer : 12  ; /* [11:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_IIDR;

/* Define the union U_SMMU_AIDR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_9        : 24  ; /* [31:8] */
        unsigned int    archmajorrev : 4  ; /* [7:4] */
        unsigned int    archminorrev : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_AIDR;

/* Define the union U_SMMU_CR0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_10   : 23  ; /* [31:9] */
        unsigned int    vmw      : 3  ; /* [8:6] */
        unsigned int    rsv_11   : 1  ; /* [5] */
        unsigned int    atschk   : 1  ; /* [4] */
        unsigned int    cmdqen   : 1  ; /* [3] */
        unsigned int    eventqen : 1  ; /* [2] */
        unsigned int    priqen   : 1  ; /* [1] */
        unsigned int    smmuen   : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_CR0;

/* Define the union U_SMMU_CR0ACK */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_12   : 23  ; /* [31:9] */
        unsigned int    vmw      : 3  ; /* [8:6] */
        unsigned int    rsv_13   : 1  ; /* [5] */
        unsigned int    atschk   : 1  ; /* [4] */
        unsigned int    cmdqen   : 1  ; /* [3] */
        unsigned int    eventqen : 1  ; /* [2] */
        unsigned int    priqen   : 1  ; /* [1] */
        unsigned int    smmuen   : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_CR0ACK;

/* Define the union U_SMMU_CR1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_14   : 20  ; /* [31:12] */
        unsigned int    table_sh : 2  ; /* [11:10] */
        unsigned int    table_oc : 2  ; /* [9:8] */
        unsigned int    table_ic : 2  ; /* [7:6] */
        unsigned int    queue_sh : 2  ; /* [5:4] */
        unsigned int    queue_oc : 2  ; /* [3:2] */
        unsigned int    queue_ic : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_CR1;

/* Define the union U_SMMU_CR2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_15    : 29  ; /* [31:3] */
        unsigned int    ptm       : 1  ; /* [2] */
        unsigned int    recinvsid : 1  ; /* [1] */
        unsigned int    e2h       : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_CR2;

/* Define the union U_SMMU_STATUSR0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_16  : 31  ; /* [31:1] */
        unsigned int    dormant : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_STATUSR0;

/* Define the union U_SMMU_GBPA */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    updating : 1  ; /* [31] */
        unsigned int    rsv_17   : 10  ; /* [30:21] */
        unsigned int    abort    : 1  ; /* [20] */
        unsigned int    instcfg  : 2  ; /* [19:18] */
        unsigned int    privcfg  : 2  ; /* [17:16] */
        unsigned int    rsv_18   : 2  ; /* [15:14] */
        unsigned int    shcfg    : 2  ; /* [13:12] */
        unsigned int    alloccfg : 4  ; /* [11:8] */
        unsigned int    rsv_19   : 3  ; /* [7:5] */
        unsigned int    mtcfg    : 1  ; /* [4] */
        unsigned int    memattr  : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_GBPA;

/* Define the union U_SMMU_AGBPA */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    updating : 1  ; /* [31] */
        unsigned int    rsv_20   : 10  ; /* [30:21] */
        unsigned int    abort    : 1  ; /* [20] */
        unsigned int    instcfg  : 2  ; /* [19:18] */
        unsigned int    privcfg  : 2  ; /* [17:16] */
        unsigned int    rsv_21   : 2  ; /* [15:14] */
        unsigned int    shcfg    : 2  ; /* [13:12] */
        unsigned int    alloccfg : 4  ; /* [11:8] */
        unsigned int    rsv_22   : 3  ; /* [7:5] */
        unsigned int    mtcfg    : 1  ; /* [4] */
        unsigned int    memattr  : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_AGBPA;

/* Define the union U_SMMU_IRQ_CTRL */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_23       : 29  ; /* [31:3] */
        unsigned int    eventq_irqen : 1  ; /* [2] */
        unsigned int    priq_irqen   : 1  ; /* [1] */
        unsigned int    gerror_irqen : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_IRQ_CTRL;

/* Define the union U_SMMU_IRQ_CTRLACK */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_24       : 29  ; /* [31:3] */
        unsigned int    eventq_irqen : 1  ; /* [2] */
        unsigned int    priq_irqen   : 1  ; /* [1] */
        unsigned int    gerror_irqen : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_IRQ_CTRLACK;

/* Define the union U_SMMU_GERROR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_25             : 24  ; /* [31:8] */
        unsigned int    msi_gerror_abt_err : 1  ; /* [7] */
        unsigned int    msi_priq_abt_err   : 1  ; /* [6] */
        unsigned int    msi_eventq_abt_err : 1  ; /* [5] */
        unsigned int    msi_cmdq_abt_err   : 1  ; /* [4] */
        unsigned int    priq_abt_err       : 1  ; /* [3] */
        unsigned int    eventq_abt_err     : 1  ; /* [2] */
        unsigned int    rsv_26             : 1  ; /* [1] */
        unsigned int    cmdq_err           : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_GERROR;

/* Define the union U_SMMU_GERRORN */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_27             : 24  ; /* [31:8] */
        unsigned int    msi_gerror_abt_err : 1  ; /* [7] */
        unsigned int    msi_priq_abt_err   : 1  ; /* [6] */
        unsigned int    msi_eventq_abt_err : 1  ; /* [5] */
        unsigned int    msi_cmdq_abt_err   : 1  ; /* [4] */
        unsigned int    priq_abt_err       : 1  ; /* [3] */
        unsigned int    eventq_abt_err     : 1  ; /* [2] */
        unsigned int    rsv_28             : 1  ; /* [1] */
        unsigned int    cmdq_err           : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_GERRORN;

/* Define the union U_SMMU_GERROR_IRQ_CFG0_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addr   : 30  ; /* [31:2] */
        unsigned int    rsv_29 : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_GERROR_IRQ_CFG0_0;

/* Define the union U_SMMU_GERROR_IRQ_CFG0_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    reserverd : 16  ; /* [31:16] */
        unsigned int    addr      : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_GERROR_IRQ_CFG0_1;

/* Define the union U_SMMU_GERROR_IRQ_CFG1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_GERROR_IRQ_CFG1;

/* Define the union U_SMMU_GERROR_IRQ_CFG2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_30  : 26  ; /* [31:6] */
        unsigned int    sh      : 2  ; /* [5:4] */
        unsigned int    memattr : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_GERROR_IRQ_CFG2;

/* Define the union U_SMMU_STRTAB_BASE0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addr   : 26  ; /* [31:6] */
        unsigned int    rsv_31 : 6  ; /* [5:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_STRTAB_BASE0;

/* Define the union U_SMMU_STRTAB_BASE1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_32 : 1  ; /* [31] */
        unsigned int    ra     : 1  ; /* [30] */
        unsigned int    rsv_33 : 14  ; /* [29:16] */
        unsigned int    addr   : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_STRTAB_BASE1;

/* Define the union U_SMMU_STRTAB_BASE_CFG */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_34   : 14  ; /* [31:18] */
        unsigned int    fmt      : 2  ; /* [17:16] */
        unsigned int    rsv_35   : 5  ; /* [15:11] */
        unsigned int    split    : 5  ; /* [10:6] */
        unsigned int    log2size : 6  ; /* [5:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_STRTAB_BASE_CFG;

/* Define the union U_SMMU_CMDQ_BASE0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addr     : 27  ; /* [31:5] */
        unsigned int    log2size : 5  ; /* [4:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_CMDQ_BASE0;

/* Define the union U_SMMU_CMDQ_BASE1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_36 : 1  ; /* [31] */
        unsigned int    ra     : 1  ; /* [30] */
        unsigned int    rsv_37 : 14  ; /* [29:16] */
        unsigned int    addr   : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_CMDQ_BASE1;

/* Define the union U_SMMU_CMDQ_PROD */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_38  : 12  ; /* [31:20] */
        unsigned int    wr_wrap : 1  ; /* [19] */
        unsigned int    wr      : 19  ; /* [18:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_CMDQ_PROD;

/* Define the union U_SMMU_CMDQ_CONS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_39  : 1  ; /* [31] */
        unsigned int    err     : 7  ; /* [30:24] */
        unsigned int    rsv_40  : 4  ; /* [23:20] */
        unsigned int    rd_wrap : 1  ; /* [19] */
        unsigned int    rd      : 19  ; /* [18:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_CMDQ_CONS;

/* Define the union U_SMMU_EVENTQ_BASE0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addr     : 27  ; /* [31:5] */
        unsigned int    log2size : 5  ; /* [4:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_EVENTQ_BASE0;

/* Define the union U_SMMU_EVENTQ_BASE1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_41 : 1  ; /* [31] */
        unsigned int    wa     : 1  ; /* [30] */
        unsigned int    rsv_42 : 14  ; /* [29:16] */
        unsigned int    addr   : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_EVENTQ_BASE1;

/* Define the union U_SMMU_EVENTQ_PROD */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ovflg   : 1  ; /* [31] */
        unsigned int    rsv_43  : 11  ; /* [30:20] */
        unsigned int    wr_wrap : 1  ; /* [19] */
        unsigned int    wr      : 19  ; /* [18:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_EVENTQ_PROD;

/* Define the union U_SMMU_EVENTQ_CONS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ovackflg : 1  ; /* [31] */
        unsigned int    rsv_44   : 11  ; /* [30:20] */
        unsigned int    rd_wrap  : 1  ; /* [19] */
        unsigned int    rd       : 19  ; /* [18:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_EVENTQ_CONS;

/* Define the union U_SMMU_EVENTQ_IRQ_CFG0_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addr   : 30  ; /* [31:2] */
        unsigned int    rsv_45 : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_EVENTQ_IRQ_CFG0_0;

/* Define the union U_SMMU_EVENTQ_IRQ_CFG0_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_46 : 16  ; /* [31:16] */
        unsigned int    addr   : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_EVENTQ_IRQ_CFG0_1;

/* Define the union U_SMMU_EVENTQ_IRQ_CFG1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_EVENTQ_IRQ_CFG1;

/* Define the union U_SMMU_EVENTQ_IRQ_CFG2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_47  : 26  ; /* [31:6] */
        unsigned int    sh      : 2  ; /* [5:4] */
        unsigned int    memattr : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_EVENTQ_IRQ_CFG2;

/* Define the union U_SMMU_PRIQ_BASE0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addr     : 27  ; /* [31:5] */
        unsigned int    log2size : 5  ; /* [4:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PRIQ_BASE0;

/* Define the union U_SMMU_PRIQ_BASE1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_48 : 1  ; /* [31] */
        unsigned int    wa     : 1  ; /* [30] */
        unsigned int    rsv_49 : 10  ; /* [29:20] */
        unsigned int    addr   : 20  ; /* [19:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PRIQ_BASE1;

/* Define the union U_SMMU_PRIQ_PROD */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ovflg   : 1  ; /* [31] */
        unsigned int    rsv_50  : 11  ; /* [30:20] */
        unsigned int    wr_wrap : 1  ; /* [19] */
        unsigned int    wr      : 19  ; /* [18:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PRIQ_PROD;

/* Define the union U_SMMU_PRIQ_CONS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ovackflg : 1  ; /* [31] */
        unsigned int    rsv_51   : 11  ; /* [30:20] */
        unsigned int    rd_wrap  : 1  ; /* [19] */
        unsigned int    rd       : 19  ; /* [18:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PRIQ_CONS;

/* Define the union U_SMMU_PRIQ_IRQ_CFG0_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addr   : 30  ; /* [31:2] */
        unsigned int    rsv_52 : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PRIQ_IRQ_CFG0_0;

/* Define the union U_SMMU_PRIQ_IRQ_CFG0_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_53 : 16  ; /* [31:16] */
        unsigned int    addr   : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PRIQ_IRQ_CFG0_1;

/* Define the union U_SMMU_PRIQ_IRQ_CFG1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PRIQ_IRQ_CFG1;

/* Define the union U_SMMU_PRIQ_IRQ_CFG2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    lo      : 1  ; /* [31] */
        unsigned int    rsv_54  : 25  ; /* [30:6] */
        unsigned int    sh      : 2  ; /* [5:4] */
        unsigned int    memattr : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PRIQ_IRQ_CFG2;

/* Define the union U_SMMU_S_IDR0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_55      : 6  ; /* [31:26] */
        unsigned int    stall_model : 2  ; /* [25:24] */
        unsigned int    rsv_56      : 10  ; /* [23:14] */
        unsigned int    msi         : 1  ; /* [13] */
        unsigned int    rsv_57      : 13  ; /* [12:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_IDR0;

/* Define the union U_SMMU_S_IDR1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    secure_impl : 1  ; /* [31] */
        unsigned int    rsv_58      : 25  ; /* [30:6] */
        unsigned int    s_sidsize   : 6  ; /* [5:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_IDR1;

/* Define the union U_SMMU_S_IDR2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_59 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_IDR2;

/* Define the union U_SMMU_S_CR0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_60   : 22  ; /* [31:10] */
        unsigned int    nsstalld : 1  ; /* [9] */
        unsigned int    rsv_61   : 3  ; /* [8:6] */
        unsigned int    sif      : 1  ; /* [5] */
        unsigned int    rsv_62   : 1  ; /* [4] */
        unsigned int    cmdqen   : 1  ; /* [3] */
        unsigned int    eventqen : 1  ; /* [2] */
        unsigned int    rsv_63   : 1  ; /* [1] */
        unsigned int    smmuen   : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_CR0;

/* Define the union U_SMMU_S_CR0ACK */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_64   : 22  ; /* [31:10] */
        unsigned int    nsstalld : 1  ; /* [9] */
        unsigned int    rsv_65   : 3  ; /* [8:6] */
        unsigned int    sif      : 1  ; /* [5] */
        unsigned int    rsv_66   : 1  ; /* [4] */
        unsigned int    cmdqen   : 1  ; /* [3] */
        unsigned int    eventqen : 1  ; /* [2] */
        unsigned int    rsv_67   : 1  ; /* [1] */
        unsigned int    smmuen   : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_CR0ACK;

/* Define the union U_SMMU_S_CR1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_68   : 20  ; /* [31:12] */
        unsigned int    table_sh : 2  ; /* [11:10] */
        unsigned int    table_oc : 2  ; /* [9:8] */
        unsigned int    table_ic : 2  ; /* [7:6] */
        unsigned int    queue_sh : 2  ; /* [5:4] */
        unsigned int    queue_oc : 2  ; /* [3:2] */
        unsigned int    queue_ic : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_CR1;

/* Define the union U_SMMU_S_CR2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_69    : 29  ; /* [31:3] */
        unsigned int    ptm       : 1  ; /* [2] */
        unsigned int    recinvsid : 1  ; /* [1] */
        unsigned int    rsv_70    : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_CR2;

/* Define the union U_SMMU_S_INIT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_71  : 31  ; /* [31:1] */
        unsigned int    inv_all : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_INIT;

/* Define the union U_SMMU_S_GBPA */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    updating : 1  ; /* [31] */
        unsigned int    rsv_72   : 10  ; /* [30:21] */
        unsigned int    abort    : 1  ; /* [20] */
        unsigned int    instcfg  : 2  ; /* [19:18] */
        unsigned int    privcfg  : 2  ; /* [17:16] */
        unsigned int    nscfg    : 2  ; /* [15:14] */
        unsigned int    shcfg    : 2  ; /* [13:12] */
        unsigned int    alloccfg : 4  ; /* [11:8] */
        unsigned int    rsv_73   : 3  ; /* [7:5] */
        unsigned int    mtcfg    : 1  ; /* [4] */
        unsigned int    memattr  : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_GBPA;

/* Define the union U_SMMU_S_AGBPA */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    updating : 1  ; /* [31] */
        unsigned int    rsv_74   : 10  ; /* [30:21] */
        unsigned int    abort    : 1  ; /* [20] */
        unsigned int    instcfg  : 2  ; /* [19:18] */
        unsigned int    privcfg  : 2  ; /* [17:16] */
        unsigned int    nscfg    : 2  ; /* [15:14] */
        unsigned int    shcfg    : 2  ; /* [13:12] */
        unsigned int    alloccfg : 4  ; /* [11:8] */
        unsigned int    rsv_75   : 3  ; /* [7:5] */
        unsigned int    mtcfg    : 1  ; /* [4] */
        unsigned int    memattr  : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_AGBPA;

/* Define the union U_SMMU_S_IRQ_CTRL */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_76         : 29  ; /* [31:3] */
        unsigned int    eventq_irqen_s : 1  ; /* [2] */
        unsigned int    priq_irqen_s   : 1  ; /* [1] */
        unsigned int    gerror_irqen_s : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_IRQ_CTRL;

/* Define the union U_SMMU_S_IRQ_CTRLACK */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_77         : 29  ; /* [31:3] */
        unsigned int    eventq_irqen_s : 1  ; /* [2] */
        unsigned int    priq_irqen_s   : 1  ; /* [1] */
        unsigned int    gerror_irqen_s : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_IRQ_CTRLACK;

/* Define the union U_SMMU_S_GERROR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_78             : 24  ; /* [31:8] */
        unsigned int    msi_gerror_abt_err : 1  ; /* [7] */
        unsigned int    rsv_79             : 1  ; /* [6] */
        unsigned int    msi_eventq_abt_err : 1  ; /* [5] */
        unsigned int    msi_cmdq_abt_err   : 1  ; /* [4] */
        unsigned int    rsv_80             : 1  ; /* [3] */
        unsigned int    eventq_abt_err     : 1  ; /* [2] */
        unsigned int    rsv_81             : 1  ; /* [1] */
        unsigned int    cmdq_err           : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_GERROR;

/* Define the union U_SMMU_S_GERRORN */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_82             : 24  ; /* [31:8] */
        unsigned int    msi_gerror_abt_err : 1  ; /* [7] */
        unsigned int    rsv_83             : 1  ; /* [6] */
        unsigned int    msi_eventq_abt_err : 1  ; /* [5] */
        unsigned int    msi_cmdq_abt_err   : 1  ; /* [4] */
        unsigned int    rsv_84             : 1  ; /* [3] */
        unsigned int    eventq_abt_err     : 1  ; /* [2] */
        unsigned int    rsv_85             : 1  ; /* [1] */
        unsigned int    cmdq_err           : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_GERRORN;

/* Define the union U_SMMU_S_GERROR_IRQ_CFG0_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addr   : 30  ; /* [31:2] */
        unsigned int    rsv_86 : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_GERROR_IRQ_CFG0_0;

/* Define the union U_SMMU_S_GERROR_IRQ_CFG0_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    reserverd : 16  ; /* [31:16] */
        unsigned int    addr      : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_GERROR_IRQ_CFG0_1;

/* Define the union U_SMMU_S_GERROR_IRQ_CFG1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_GERROR_IRQ_CFG1;

/* Define the union U_SMMU_S_GERROR_IRQ_CFG2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_87  : 26  ; /* [31:6] */
        unsigned int    sh      : 2  ; /* [5:4] */
        unsigned int    memattr : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_GERROR_IRQ_CFG2;

/* Define the union U_SMMU_S_STRTAB_BASE0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addr   : 26  ; /* [31:6] */
        unsigned int    rsv_88 : 6  ; /* [5:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_STRTAB_BASE0;

/* Define the union U_SMMU_S_STRTAB_BASE1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_89 : 1  ; /* [31] */
        unsigned int    ra     : 1  ; /* [30] */
        unsigned int    rsv_90 : 14  ; /* [29:16] */
        unsigned int    addr   : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_STRTAB_BASE1;

/* Define the union U_SMMU_S_STRTAB_BASE_CFG */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_91   : 14  ; /* [31:18] */
        unsigned int    fmt      : 2  ; /* [17:16] */
        unsigned int    rsv_92   : 5  ; /* [15:11] */
        unsigned int    split    : 5  ; /* [10:6] */
        unsigned int    log2size : 6  ; /* [5:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_STRTAB_BASE_CFG;

/* Define the union U_SMMU_S_CMDQ_BASE0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addr     : 27  ; /* [31:5] */
        unsigned int    log2size : 5  ; /* [4:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_CMDQ_BASE0;

/* Define the union U_SMMU_S_CMDQ_BASE1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_93 : 1  ; /* [31] */
        unsigned int    ra     : 1  ; /* [30] */
        unsigned int    rsv_94 : 14  ; /* [29:16] */
        unsigned int    addr   : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_CMDQ_BASE1;

/* Define the union U_SMMU_S_CMDQ_PROD */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_95  : 12  ; /* [31:20] */
        unsigned int    wr_wrap : 1  ; /* [19] */
        unsigned int    wr      : 19  ; /* [18:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_CMDQ_PROD;

/* Define the union U_SMMU_S_CMDQ_CONS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_96  : 1  ; /* [31] */
        unsigned int    err     : 7  ; /* [30:24] */
        unsigned int    rsv_97  : 4  ; /* [23:20] */
        unsigned int    rd_wrap : 1  ; /* [19] */
        unsigned int    rd      : 19  ; /* [18:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_CMDQ_CONS;

/* Define the union U_SMMU_S_EVENTQ_BASE0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addr     : 27  ; /* [31:5] */
        unsigned int    log2size : 5  ; /* [4:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_EVENTQ_BASE0;

/* Define the union U_SMMU_S_EVENTQ_BASE1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_98 : 1  ; /* [31] */
        unsigned int    wa     : 1  ; /* [30] */
        unsigned int    rsv_99 : 14  ; /* [29:16] */
        unsigned int    addr   : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_EVENTQ_BASE1;

/* Define the union U_SMMU_S_EVENTQ_PROD */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ovflg   : 1  ; /* [31] */
        unsigned int    rsv_100 : 11  ; /* [30:20] */
        unsigned int    wr_wrap : 1  ; /* [19] */
        unsigned int    wr      : 19  ; /* [18:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_EVENTQ_PROD;

/* Define the union U_SMMU_S_EVENTQ_CONS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ovackflg : 1  ; /* [31] */
        unsigned int    rsv_101  : 11  ; /* [30:20] */
        unsigned int    rd_wrap  : 1  ; /* [19] */
        unsigned int    rd       : 19  ; /* [18:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_EVENTQ_CONS;

/* Define the union U_SMMU_S_EVENTQ_IRQ_CFG0_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addr    : 30  ; /* [31:2] */
        unsigned int    rsv_102 : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_EVENTQ_IRQ_CFG0_0;

/* Define the union U_SMMU_S_EVENTQ_IRQ_CFG0_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_103 : 16  ; /* [31:16] */
        unsigned int    addr    : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_EVENTQ_IRQ_CFG0_1;

/* Define the union U_SMMU_S_EVENTQ_IRQ_CFG1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_EVENTQ_IRQ_CFG1;

/* Define the union U_SMMU_S_EVENTQ_IRQ_CFG2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_104 : 26  ; /* [31:6] */
        unsigned int    sh      : 2  ; /* [5:4] */
        unsigned int    memattr : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_S_EVENTQ_IRQ_CFG2;

/* Define the union U_SMMU_USER_CONFIG0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    pcie_invld_mode            : 1  ; /* [31] */
        unsigned int    mpam_en                    : 1  ; /* [30] */
        unsigned int    l2_tlb_index_mode          : 1  ; /* [29] */
        unsigned int    stream_write_mode_tp       : 1  ; /* [28] */
        unsigned int    stash_dieid1               : 2  ; /* [27:26] */
        unsigned int    stash_dieid0               : 2  ; /* [25:24] */
        unsigned int    writeback_spill_en         : 1  ; /* [23] */
        unsigned int    stream_write_mode_sp       : 1  ; /* [22] */
        unsigned int    readonce_makeinvalid       : 1  ; /* [21] */
        unsigned int    ste_bypass_allocate_tlb_en : 1  ; /* [20] */
        unsigned int    stream_req_opt             : 8  ; /* [19:12] */
        unsigned int    l2_allocate_l1_en          : 1  ; /* [11] */
        unsigned int    sky_bypass_rd_force        : 1  ; /* [10] */
        unsigned int    sky_bypass_wr_force        : 1  ; /* [9] */
        unsigned int    sky_bypass_en              : 1  ; /* [8] */
        unsigned int    l2_tlb_gs_set              : 4  ; /* [7:4] */
        unsigned int    page_cache_en              : 1  ; /* [3] */
        unsigned int    walk_cache_en              : 1  ; /* [2] */
        unsigned int    cmd_ots_en                 : 1  ; /* [1] */
        unsigned int    l2_tlb_en                  : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_USER_CONFIG0;

/* Define the union U_SMMU_USER_CONFIG1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_105    : 16  ; /* [31:16] */
        unsigned int    master7_gs : 2  ; /* [15:14] */
        unsigned int    master6_gs : 2  ; /* [13:12] */
        unsigned int    master5_gs : 2  ; /* [11:10] */
        unsigned int    master4_gs : 2  ; /* [9:8] */
        unsigned int    master3_gs : 2  ; /* [7:6] */
        unsigned int    master2_gs : 2  ; /* [5:4] */
        unsigned int    master1_gs : 2  ; /* [3:2] */
        unsigned int    master0_gs : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_USER_CONFIG1;

/* Define the union U_SMMU_VERI_ID */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    version_id : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_VERI_ID;

/* Define the union U_SMMU_PROD_INFO */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    productid   : 12  ; /* [31:20] */
        unsigned int    variant     : 4  ; /* [19:16] */
        unsigned int    revision    : 4  ; /* [15:12] */
        unsigned int    implementer : 12  ; /* [11:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PROD_INFO;

/* Define the union U_SMMU_USER_CONFIG2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_106    : 31  ; /* [31:1] */
        unsigned int    inv_all_ns : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_USER_CONFIG2;

/* Define the union U_SMMU_PCIE_IRPT_EN */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_107        : 31  ; /* [31:1] */
        unsigned int    irpt_topcie_en : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PCIE_IRPT_EN;

/* Define the union U_SMMU_PCIE_IRPT_ADDR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    irpt_topcie_addr : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PCIE_IRPT_ADDR;

/* Define the union U_SMMU_PCIE_IRPT_DATA */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    irpt_topcie_data : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PCIE_IRPT_DATA;

/* Define the union U_SMMU_USER_CONFIG3 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_108               : 18  ; /* [31:14] */
        unsigned int    reg_sky_not_block_int : 1  ; /* [13] */
        unsigned int    reg_sky_not_block     : 1  ; /* [12] */
        unsigned int    reg_l2_inv_va_mode    : 1  ; /* [11] */
        unsigned int    reg_inv_va_disable    : 1  ; /* [10] */
        unsigned int    reg_ats_mode          : 1  ; /* [9] */
        unsigned int    reg_pri_mode          : 1  ; /* [8] */
        unsigned int    iocache_comp_mode     : 1  ; /* [7] */
        unsigned int    ptw_invld_mode        : 1  ; /* [6] */
        unsigned int    tocpa_en              : 1  ; /* [5] */
        unsigned int    stash_die_mode        : 1  ; /* [4] */
        unsigned int    ptw_qos               : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_USER_CONFIG3;

/* Define the union U_SMMU_SKY_QUEUE_POINTER_SP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_109                : 24  ; /* [31:8] */
        unsigned int    dfx_sky_queue_probe_id : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_SKY_QUEUE_POINTER_SP;

/* Define the union U_SMMU_SKY_QUEUE_ADDR_LOW_SP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    dfx_sky_queue_probe_addr_low : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_SKY_QUEUE_ADDR_LOW_SP;

/* Define the union U_SMMU_SKY_QUEUE_ADDR_HIGH_SP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    dfx_sky_queue_probe_addr_high : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_SKY_QUEUE_ADDR_HIGH_SP;

/* Define the union U_SMMU_SKY_QUEUE_STAT0_SP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_110                   : 5  ; /* [31:27] */
        unsigned int    dfx_sky_queue_probe_mstid : 3  ; /* [26:24] */
        unsigned int    dfx_sky_queue_probe_txnid : 8  ; /* [23:16] */
        unsigned int    dfx_sky_queue_probe_stat  : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_SKY_QUEUE_STAT0_SP;

/* Define the union U_SMMU_SKY_QUEUE_STAT1_SP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    dfx_sky_queue_probe_strmid : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_SKY_QUEUE_STAT1_SP;

/* Define the union U_SMMU_SKY_QUEUE_POINTER_TP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_111                : 24  ; /* [31:8] */
        unsigned int    dfx_sky_queue_probe_id : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_SKY_QUEUE_POINTER_TP;

/* Define the union U_SMMU_SKY_QUEUE_ADDR_LOW_TP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    dfx_sky_queue_probe_addr_low : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_SKY_QUEUE_ADDR_LOW_TP;

/* Define the union U_SMMU_SKY_QUEUE_ADDR_HIGH_TP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    dfx_sky_queue_probe_addr_high : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_SKY_QUEUE_ADDR_HIGH_TP;

/* Define the union U_SMMU_SKY_QUEUE_STAT0_TP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_112                   : 5  ; /* [31:27] */
        unsigned int    dfx_sky_queue_probe_mstid : 3  ; /* [26:24] */
        unsigned int    dfx_sky_queue_probe_txnid : 8  ; /* [23:16] */
        unsigned int    dfx_sky_queue_probe_stat  : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_SKY_QUEUE_STAT0_TP;

/* Define the union U_SMMU_SKY_QUEUE_STAT1_TP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    dfx_sky_queue_probe_strmid : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_SKY_QUEUE_STAT1_TP;

/* Define the union U_SMMU_DFX_CMD_NUM */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_113    : 16  ; /* [31:16] */
        unsigned int    cmd_num_tp : 8  ; /* [15:8] */
        unsigned int    cmd_num_sp : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_DFX_CMD_NUM;

/* Define the union U_SMMU_DFX_CMD_QUEUE_STAT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    dfx_cmd_queue_stat : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_DFX_CMD_QUEUE_STAT;

/* Define the union U_SMMU_DFX_FAULT_NUM */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    dfx_stall_irpt_tp : 1  ; /* [31] */
        unsigned int    dfx_stall_irpt_sp : 1  ; /* [30] */
        unsigned int    fault_cnt         : 30  ; /* [29:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_DFX_FAULT_NUM;

/* Define the union U_SMMU_DFX_TEST_MONITOR_SP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_114                  : 10  ; /* [31:22] */
        unsigned int    block_axi_rd_norder_long : 1  ; /* [21] */
        unsigned int    block_axi_wr_norder_long : 1  ; /* [20] */
        unsigned int    block_axi_rd_norder      : 1  ; /* [19] */
        unsigned int    block_axi_wr_norder      : 1  ; /* [18] */
        unsigned int    block_axi_rd_order       : 1  ; /* [17] */
        unsigned int    block_axi_wr_order       : 1  ; /* [16] */
        unsigned int    block_axi_mst_num        : 8  ; /* [15:8] */
        unsigned int    dfx_sky_queue_valud_num  : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_DFX_TEST_MONITOR_SP;

/* Define the union U_SMMU_DFX_TEST_MONITOR_TP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_115                  : 10  ; /* [31:22] */
        unsigned int    block_axi_rd_norder_long : 1  ; /* [21] */
        unsigned int    block_axi_wr_norder_long : 1  ; /* [20] */
        unsigned int    block_axi_rd_norder      : 1  ; /* [19] */
        unsigned int    block_axi_wr_norder      : 1  ; /* [18] */
        unsigned int    block_axi_rd_order       : 1  ; /* [17] */
        unsigned int    block_axi_wr_order       : 1  ; /* [16] */
        unsigned int    block_axi_mst_num        : 8  ; /* [15:8] */
        unsigned int    dfx_sky_queue_valud_num  : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_DFX_TEST_MONITOR_TP;

/* Define the union U_SMMU_DFX_ECC_MONITOR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    axi_ecc_err_tp_cnt  : 8  ; /* [31:24] */
        unsigned int    axi_ecc_err_sp_cnt  : 8  ; /* [23:16] */
        unsigned int    cntxt_cache_ecc_cnt : 8  ; /* [15:8] */
        unsigned int    l2_ecc_cnt          : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_DFX_ECC_MONITOR;

/* Define the union U_SMMU_STALL_QUEUE_STAT0_SP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_116                    : 7  ; /* [31:25] */
        unsigned int    dfx_sky_queue_stall_strmid : 25  ; /* [24:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_STALL_QUEUE_STAT0_SP;

/* Define the union U_SMMU_STALL_QUEUE_STAT1_SP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_117                   : 23  ; /* [31:9] */
        unsigned int    dfx_sky_queue_stall_ns    : 1  ; /* [8] */
        unsigned int    dfx_sky_queue_stall_txnid : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_STALL_QUEUE_STAT1_SP;

/* Define the union U_SMMU_STALL_QUEUE_STAT0_TP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_118                    : 7  ; /* [31:25] */
        unsigned int    dfx_sky_queue_stall_strmid : 25  ; /* [24:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_STALL_QUEUE_STAT0_TP;

/* Define the union U_SMMU_STALL_QUEUE_STAT1_TP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_119                   : 23  ; /* [31:9] */
        unsigned int    dfx_sky_queue_stall_ns    : 1  ; /* [8] */
        unsigned int    dfx_sky_queue_stall_txnid : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_STALL_QUEUE_STAT1_TP;

/* Define the union U_SMMU_ECC_INJECT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_120         : 12  ; /* [31:20] */
        unsigned int    inject_2bit_en  : 1  ; /* [19] */
        unsigned int    inject_tcu_en   : 1  ; /* [18] */
        unsigned int    inject_tbu_en   : 1  ; /* [17] */
        unsigned int    inject_axi_en   : 1  ; /* [16] */
        unsigned int    inject_2bit_sel : 8  ; /* [15:8] */
        unsigned int    inject_1bit_sel : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_ECC_INJECT;

/* Define the union U_SMMU_PTW_STATUS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    dfx_ptw_status : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PTW_STATUS;

/* Define the union U_SMMU_PTW_STATUS_S2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    dfx_ptw_status_s2 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PTW_STATUS_S2;

/* Define the union U_SMMU_PMCG_EVCNTRN_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    evcnt_0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_EVCNTRN_0;

/* Define the union U_SMMU_PMCG_EVCNTRN_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    evcnt_1 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_EVCNTRN_1;

/* Define the union U_SMMU_PMCG_EVTYPERN */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ovfcap          : 1  ; /* [31] */
        unsigned int    filter_sec_sid  : 1  ; /* [30] */
        unsigned int    filter_sid_span : 1  ; /* [29] */
        unsigned int    rsv_121         : 13  ; /* [28:16] */
        unsigned int    event           : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_EVTYPERN;

/* Define the union U_SMMU_PMCG_SVRN_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    svr0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_SVRN_0;

/* Define the union U_SMMU_PMCG_SVRN_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    svr1 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_SVRN_1;

/* Define the union U_SMMU_PMCG_SMRN */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    smr : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_SMRN;

/* Define the union U_SMMU_PMCG_CNTENSET0_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    cnten : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_CNTENSET0_0;

/* Define the union U_SMMU_PMCG_CNTENSET0_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    cnten : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_CNTENSET0_1;

/* Define the union U_SMMU_PMCG_CNTENCLR0_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    cntclr : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_CNTENCLR0_0;

/* Define the union U_SMMU_PMCG_CNTENCLR0_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    cntclr : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_CNTENCLR0_1;

/* Define the union U_SMMU_PMCG_INTENSET0_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    inten : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_INTENSET0_0;

/* Define the union U_SMMU_PMCG_INTENSET0_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    inten : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_INTENSET0_1;

/* Define the union U_SMMU_PMCG_INTENCLR0_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    intclr : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_INTENCLR0_0;

/* Define the union U_SMMU_PMCG_INTENCLR0_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    intclr : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_INTENCLR0_1;

/* Define the union U_SMMU_PMCG_OVSCLR0_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ovs : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_OVSCLR0_0;

/* Define the union U_SMMU_PMCG_OVSCLR0_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ovs : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_OVSCLR0_1;

/* Define the union U_SMMU_PMCG_OVSSET0_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ovs : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_OVSSET0_0;

/* Define the union U_SMMU_PMCG_OVSSET0_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ovs : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_OVSSET0_1;

/* Define the union U_SMMU_PMCG_CAPR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_122 : 31  ; /* [31:1] */
        unsigned int    capture : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_CAPR;

/* Define the union U_SMMU_PMCG_SCR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    readone : 1  ; /* [31] */
        unsigned int    rsv_123 : 28  ; /* [30:3] */
        unsigned int    nsmsi   : 1  ; /* [2] */
        unsigned int    nsra    : 1  ; /* [1] */
        unsigned int    so      : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_SCR;

/* Define the union U_SMMU_PMCG_CFGR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_124         : 8  ; /* [31:24] */
        unsigned int    sid_filter_type : 1  ; /* [23] */
        unsigned int    capture         : 1  ; /* [22] */
        unsigned int    msi             : 1  ; /* [21] */
        unsigned int    reloc_ctrs      : 1  ; /* [20] */
        unsigned int    rsv_125         : 6  ; /* [19:14] */
        unsigned int    size            : 6  ; /* [13:8] */
        unsigned int    rsv_126         : 2  ; /* [7:6] */
        unsigned int    nctr            : 6  ; /* [5:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_CFGR;

/* Define the union U_SMMU_PMCG_CR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_127 : 31  ; /* [31:1] */
        unsigned int    e       : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_CR;

/* Define the union U_SMMU_PMCG_CEID0_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    event_en : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_CEID0_0;

/* Define the union U_SMMU_PMCG_CEID0_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    event_en : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_CEID0_1;

/* Define the union U_SMMU_PMCG_CEID1_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    event_en : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_CEID1_0;

/* Define the union U_SMMU_PMCG_CEID1_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    event_en : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_CEID1_1;

/* Define the union U_SMMU_PMCG_IRQ_CTRL */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_128 : 31  ; /* [31:1] */
        unsigned int    irqen   : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_IRQ_CTRL;

/* Define the union U_SMMU_PMCG_IRQ_CTRLACK */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_129 : 31  ; /* [31:1] */
        unsigned int    irqen   : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_IRQ_CTRLACK;

/* Define the union U_SMMU_PMCG_IRQ_CFG0_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addr    : 30  ; /* [31:2] */
        unsigned int    rsv_130 : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_IRQ_CFG0_0;

/* Define the union U_SMMU_PMCG_IRQ_CFG0_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_131 : 12  ; /* [31:20] */
        unsigned int    addr    : 20  ; /* [19:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_IRQ_CFG0_1;

/* Define the union U_SMMU_PMCG_IRQ_CFG1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_IRQ_CFG1;

/* Define the union U_SMMU_PMCG_IRQ_CFG2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_132 : 26  ; /* [31:6] */
        unsigned int    sh      : 2  ; /* [5:4] */
        unsigned int    memattr : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_IRQ_CFG2;

/* Define the union U_SMMU_PMCG_IRQ_STATUS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_133 : 31  ; /* [31:1] */
        unsigned int    irq_abt : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_IRQ_STATUS;

/* Define the union U_SMMU_PMCG_AIDR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_134      : 24  ; /* [31:8] */
        unsigned int    archmajorrev : 4  ; /* [7:4] */
        unsigned int    archminorrev : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_PMCG_AIDR;

/* Define the union U_SMMU_ERR_FR_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_135 : 12  ; /* [31:20] */
        unsigned int    ceo     : 2  ; /* [19:18] */
        unsigned int    dui     : 2  ; /* [17:16] */
        unsigned int    rp      : 1  ; /* [15] */
        unsigned int    cec     : 3  ; /* [14:12] */
        unsigned int    cfi     : 2  ; /* [11:10] */
        unsigned int    ue      : 2  ; /* [9:8] */
        unsigned int    fi      : 2  ; /* [7:6] */
        unsigned int    ui      : 2  ; /* [5:4] */
        unsigned int    rsv_136 : 2  ; /* [3:2] */
        unsigned int    ed      : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_ERR_FR_0;

/* Define the union U_SMMU_ERR_FR_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_137 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_ERR_FR_1;

/* Define the union U_SMMU_ERR_CTRL_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_138 : 21  ; /* [31:11] */
        unsigned int    dui     : 1  ; /* [10] */
        unsigned int    rsv_139 : 1  ; /* [9] */
        unsigned int    cfi     : 1  ; /* [8] */
        unsigned int    rsv_140 : 3  ; /* [7:5] */
        unsigned int    ue      : 1  ; /* [4] */
        unsigned int    fi      : 1  ; /* [3] */
        unsigned int    ui      : 1  ; /* [2] */
        unsigned int    rsv_141 : 1  ; /* [1] */
        unsigned int    ed      : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_ERR_CTRL_0;

/* Define the union U_SMMU_ERR_CTRL_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_142 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_ERR_CTRL_1;

/* Define the union U_SMMU_ERR_STATUS_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    av      : 1  ; /* [31] */
        unsigned int    v       : 1  ; /* [30] */
        unsigned int    ue      : 1  ; /* [29] */
        unsigned int    er      : 1  ; /* [28] */
        unsigned int    of      : 1  ; /* [27] */
        unsigned int    mv      : 1  ; /* [26] */
        unsigned int    ce      : 2  ; /* [25:24] */
        unsigned int    de      : 1  ; /* [23] */
        unsigned int    pn      : 1  ; /* [22] */
        unsigned int    uet     : 2  ; /* [21:20] */
        unsigned int    rsv_143 : 4  ; /* [19:16] */
        unsigned int    ierr    : 8  ; /* [15:8] */
        unsigned int    serr    : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_ERR_STATUS_0;

/* Define the union U_SMMU_ERR_STATUS_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_144 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_ERR_STATUS_1;

/* Define the union U_SMMU_ERR_ADDR_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    err_addr_low : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_ERR_ADDR_0;

/* Define the union U_SMMU_ERR_ADDR_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addr_ns       : 1  ; /* [31] */
        unsigned int    rsv_145       : 1  ; /* [30] */
        unsigned int    addr_ai       : 1  ; /* [29] */
        unsigned int    rserved       : 13  ; /* [28:16] */
        unsigned int    err_addr_high : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_ERR_ADDR_1;

/* Define the union U_SMMU_ERR_MISC0_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_146 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_ERR_MISC0_0;

/* Define the union U_SMMU_ERR_MISC0_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_147        : 24  ; /* [31:8] */
        unsigned int    ecc_err_ovflow : 1  ; /* [7] */
        unsigned int    ecc_err_cnt    : 7  ; /* [6:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_ERR_MISC0_1;

/* Define the union U_SMMU_ERR_MISC1_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_148 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_ERR_MISC1_0;

/* Define the union U_SMMU_ERR_MISC1_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_149 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SMMU_ERR_MISC1_1;


//==============================================================================
/* Define the global struct */
typedef struct
{
    volatile U_SMMU_IDR0                   SMMU_IDR0                   ; /* 0 */
    volatile U_SMMU_IDR1                   SMMU_IDR1                   ; /* 4 */
    volatile U_SMMU_IDR2                   SMMU_IDR2                   ; /* 8 */
    volatile U_SMMU_IDR3                   SMMU_IDR3                   ; /* C */
    volatile U_SMMU_IDR4                   SMMU_IDR4                   ; /* 10 */
    volatile U_SMMU_IDR5                   SMMU_IDR5                   ; /* 14 */
    volatile U_SMMU_IIDR                   SMMU_IIDR                   ; /* 18 */
    volatile U_SMMU_AIDR                   SMMU_AIDR                   ; /* 1C */
    volatile U_SMMU_CR0                    SMMU_CR0                    ; /* 20 */
    volatile U_SMMU_CR0ACK                 SMMU_CR0ACK                 ; /* 24 */
    volatile U_SMMU_CR1                    SMMU_CR1                    ; /* 28 */
    volatile U_SMMU_CR2                    SMMU_CR2                    ; /* 2C */
    volatile U_SMMU_STATUSR0               SMMU_STATUSR0               ; /* 40 */
    volatile U_SMMU_GBPA                   SMMU_GBPA                   ; /* 44 */
    volatile U_SMMU_AGBPA                  SMMU_AGBPA                  ; /* 48 */
    volatile U_SMMU_IRQ_CTRL               SMMU_IRQ_CTRL               ; /* 50 */
    volatile U_SMMU_IRQ_CTRLACK            SMMU_IRQ_CTRLACK            ; /* 54 */
    volatile U_SMMU_GERROR                 SMMU_GERROR                 ; /* 60 */
    volatile U_SMMU_GERRORN                SMMU_GERRORN                ; /* 64 */
    volatile U_SMMU_GERROR_IRQ_CFG0_0      SMMU_GERROR_IRQ_CFG0_0      ; /* 68 */
    volatile U_SMMU_GERROR_IRQ_CFG0_1      SMMU_GERROR_IRQ_CFG0_1      ; /* 6C */
    volatile U_SMMU_GERROR_IRQ_CFG1        SMMU_GERROR_IRQ_CFG1        ; /* 70 */
    volatile U_SMMU_GERROR_IRQ_CFG2        SMMU_GERROR_IRQ_CFG2        ; /* 74 */
    volatile U_SMMU_STRTAB_BASE0           SMMU_STRTAB_BASE0           ; /* 80 */
    volatile U_SMMU_STRTAB_BASE1           SMMU_STRTAB_BASE1           ; /* 84 */
    volatile U_SMMU_STRTAB_BASE_CFG        SMMU_STRTAB_BASE_CFG        ; /* 88 */
    volatile U_SMMU_CMDQ_BASE0             SMMU_CMDQ_BASE0             ; /* 90 */
    volatile U_SMMU_CMDQ_BASE1             SMMU_CMDQ_BASE1             ; /* 94 */
    volatile U_SMMU_CMDQ_PROD              SMMU_CMDQ_PROD              ; /* 98 */
    volatile U_SMMU_CMDQ_CONS              SMMU_CMDQ_CONS              ; /* 9C */
    volatile U_SMMU_EVENTQ_BASE0           SMMU_EVENTQ_BASE0           ; /* A0 */
    volatile U_SMMU_EVENTQ_BASE1           SMMU_EVENTQ_BASE1           ; /* A4 */
    volatile U_SMMU_EVENTQ_PROD            SMMU_EVENTQ_PROD            ; /* 100A8 */
    volatile U_SMMU_EVENTQ_CONS            SMMU_EVENTQ_CONS            ; /* 100AC */
    volatile U_SMMU_EVENTQ_IRQ_CFG0_0      SMMU_EVENTQ_IRQ_CFG0_0      ; /* B0 */
    volatile U_SMMU_EVENTQ_IRQ_CFG0_1      SMMU_EVENTQ_IRQ_CFG0_1      ; /* B4 */
    volatile U_SMMU_EVENTQ_IRQ_CFG1        SMMU_EVENTQ_IRQ_CFG1        ; /* B8 */
    volatile U_SMMU_EVENTQ_IRQ_CFG2        SMMU_EVENTQ_IRQ_CFG2        ; /* BC */
    volatile U_SMMU_PRIQ_BASE0             SMMU_PRIQ_BASE0             ; /* C0 */
    volatile U_SMMU_PRIQ_BASE1             SMMU_PRIQ_BASE1             ; /* C4 */
    volatile U_SMMU_PRIQ_PROD              SMMU_PRIQ_PROD              ; /* 100C8 */
    volatile U_SMMU_PRIQ_CONS              SMMU_PRIQ_CONS              ; /* 100CC */
    volatile U_SMMU_PRIQ_IRQ_CFG0_0        SMMU_PRIQ_IRQ_CFG0_0        ; /* D0 */
    volatile U_SMMU_PRIQ_IRQ_CFG0_1        SMMU_PRIQ_IRQ_CFG0_1        ; /* D4 */
    volatile U_SMMU_PRIQ_IRQ_CFG1          SMMU_PRIQ_IRQ_CFG1          ; /* D8 */
    volatile U_SMMU_PRIQ_IRQ_CFG2          SMMU_PRIQ_IRQ_CFG2          ; /* DC */
    volatile U_SMMU_S_IDR0                 SMMU_S_IDR0                 ; /* 8000 */
    volatile U_SMMU_S_IDR1                 SMMU_S_IDR1                 ; /* 8004 */
    volatile U_SMMU_S_IDR2                 SMMU_S_IDR2                 ; /* 8008 */
    volatile U_SMMU_S_CR0                  SMMU_S_CR0                  ; /* 8020 */
    volatile U_SMMU_S_CR0ACK               SMMU_S_CR0ACK               ; /* 8024 */
    volatile U_SMMU_S_CR1                  SMMU_S_CR1                  ; /* 8028 */
    volatile U_SMMU_S_CR2                  SMMU_S_CR2                  ; /* 802C */
    volatile U_SMMU_S_INIT                 SMMU_S_INIT                 ; /* 803C */
    volatile U_SMMU_S_GBPA                 SMMU_S_GBPA                 ; /* 8044 */
    volatile U_SMMU_S_AGBPA                SMMU_S_AGBPA                ; /* 8048 */
    volatile U_SMMU_S_IRQ_CTRL             SMMU_S_IRQ_CTRL             ; /* 8050 */
    volatile U_SMMU_S_IRQ_CTRLACK          SMMU_S_IRQ_CTRLACK          ; /* 8054 */
    volatile U_SMMU_S_GERROR               SMMU_S_GERROR               ; /* 8060 */
    volatile U_SMMU_S_GERRORN              SMMU_S_GERRORN              ; /* 8064 */
    volatile U_SMMU_S_GERROR_IRQ_CFG0_0    SMMU_S_GERROR_IRQ_CFG0_0    ; /* 8068 */
    volatile U_SMMU_S_GERROR_IRQ_CFG0_1    SMMU_S_GERROR_IRQ_CFG0_1    ; /* 806C */
    volatile U_SMMU_S_GERROR_IRQ_CFG1      SMMU_S_GERROR_IRQ_CFG1      ; /* 8070 */
    volatile U_SMMU_S_GERROR_IRQ_CFG2      SMMU_S_GERROR_IRQ_CFG2      ; /* 8074 */
    volatile U_SMMU_S_STRTAB_BASE0         SMMU_S_STRTAB_BASE0         ; /* 8080 */
    volatile U_SMMU_S_STRTAB_BASE1         SMMU_S_STRTAB_BASE1         ; /* 8084 */
    volatile U_SMMU_S_STRTAB_BASE_CFG      SMMU_S_STRTAB_BASE_CFG      ; /* 8088 */
    volatile U_SMMU_S_CMDQ_BASE0           SMMU_S_CMDQ_BASE0           ; /* 8090 */
    volatile U_SMMU_S_CMDQ_BASE1           SMMU_S_CMDQ_BASE1           ; /* 8094 */
    volatile U_SMMU_S_CMDQ_PROD            SMMU_S_CMDQ_PROD            ; /* 8098 */
    volatile U_SMMU_S_CMDQ_CONS            SMMU_S_CMDQ_CONS            ; /* 809C */
    volatile U_SMMU_S_EVENTQ_BASE0         SMMU_S_EVENTQ_BASE0         ; /* 80A0 */
    volatile U_SMMU_S_EVENTQ_BASE1         SMMU_S_EVENTQ_BASE1         ; /* 80A4 */
    volatile U_SMMU_S_EVENTQ_PROD          SMMU_S_EVENTQ_PROD          ; /* 80A8 */
    volatile U_SMMU_S_EVENTQ_CONS          SMMU_S_EVENTQ_CONS          ; /* 80AC */
    volatile U_SMMU_S_EVENTQ_IRQ_CFG0_0    SMMU_S_EVENTQ_IRQ_CFG0_0    ; /* 80B0 */
    volatile U_SMMU_S_EVENTQ_IRQ_CFG0_1    SMMU_S_EVENTQ_IRQ_CFG0_1    ; /* 80B4 */
    volatile U_SMMU_S_EVENTQ_IRQ_CFG1      SMMU_S_EVENTQ_IRQ_CFG1      ; /* 80B8 */
    volatile U_SMMU_S_EVENTQ_IRQ_CFG2      SMMU_S_EVENTQ_IRQ_CFG2      ; /* 80BC */
    volatile U_SMMU_USER_CONFIG0           SMMU_USER_CONFIG0           ; /* E00 */
    volatile U_SMMU_USER_CONFIG1           SMMU_USER_CONFIG1           ; /* E04 */
    volatile U_SMMU_VERI_ID                SMMU_VERI_ID                ; /* E08 */
    volatile U_SMMU_PROD_INFO              SMMU_PROD_INFO              ; /* E0C */
    volatile U_SMMU_USER_CONFIG2           SMMU_USER_CONFIG2           ; /* E10 */
    volatile U_SMMU_PCIE_IRPT_EN           SMMU_PCIE_IRPT_EN           ; /* E14 */
    volatile U_SMMU_PCIE_IRPT_ADDR         SMMU_PCIE_IRPT_ADDR         ; /* E18 */
    volatile U_SMMU_PCIE_IRPT_DATA         SMMU_PCIE_IRPT_DATA         ; /* E1C */
    volatile U_SMMU_USER_CONFIG3           SMMU_USER_CONFIG3           ; /* E20 */
    volatile U_SMMU_SKY_QUEUE_POINTER_SP   SMMU_SKY_QUEUE_POINTER_SP   ; /* E30 */
    volatile U_SMMU_SKY_QUEUE_ADDR_LOW_SP  SMMU_SKY_QUEUE_ADDR_LOW_SP  ; /* E34 */
    volatile U_SMMU_SKY_QUEUE_ADDR_HIGH_SP SMMU_SKY_QUEUE_ADDR_HIGH_SP ; /* E38 */
    volatile U_SMMU_SKY_QUEUE_STAT0_SP     SMMU_SKY_QUEUE_STAT0_SP     ; /* E3C */
    volatile U_SMMU_SKY_QUEUE_STAT1_SP     SMMU_SKY_QUEUE_STAT1_SP     ; /* E40 */
    volatile U_SMMU_SKY_QUEUE_POINTER_TP   SMMU_SKY_QUEUE_POINTER_TP   ; /* E50 */
    volatile U_SMMU_SKY_QUEUE_ADDR_LOW_TP  SMMU_SKY_QUEUE_ADDR_LOW_TP  ; /* E54 */
    volatile U_SMMU_SKY_QUEUE_ADDR_HIGH_TP SMMU_SKY_QUEUE_ADDR_HIGH_TP ; /* E58 */
    volatile U_SMMU_SKY_QUEUE_STAT0_TP     SMMU_SKY_QUEUE_STAT0_TP     ; /* E5C */
    volatile U_SMMU_SKY_QUEUE_STAT1_TP     SMMU_SKY_QUEUE_STAT1_TP     ; /* E60 */
    volatile U_SMMU_DFX_CMD_NUM            SMMU_DFX_CMD_NUM            ; /* E70 */
    volatile U_SMMU_DFX_CMD_QUEUE_STAT     SMMU_DFX_CMD_QUEUE_STAT     ; /* E74 */
    volatile U_SMMU_DFX_FAULT_NUM          SMMU_DFX_FAULT_NUM          ; /* E78 */
    volatile U_SMMU_DFX_TEST_MONITOR_SP    SMMU_DFX_TEST_MONITOR_SP    ; /* E7C */
    volatile U_SMMU_DFX_TEST_MONITOR_TP    SMMU_DFX_TEST_MONITOR_TP    ; /* E80 */
    volatile U_SMMU_DFX_ECC_MONITOR        SMMU_DFX_ECC_MONITOR        ; /* E84 */
    volatile U_SMMU_STALL_QUEUE_STAT0_SP   SMMU_STALL_QUEUE_STAT0_SP   ; /* E90 */
    volatile U_SMMU_STALL_QUEUE_STAT1_SP   SMMU_STALL_QUEUE_STAT1_SP   ; /* E94 */
    volatile U_SMMU_STALL_QUEUE_STAT0_TP   SMMU_STALL_QUEUE_STAT0_TP   ; /* E98 */
    volatile U_SMMU_STALL_QUEUE_STAT1_TP   SMMU_STALL_QUEUE_STAT1_TP   ; /* E9C */
    volatile U_SMMU_ECC_INJECT             SMMU_ECC_INJECT             ; /* EA0 */
    volatile U_SMMU_PTW_STATUS             SMMU_PTW_STATUS[4]          ; /* EA4 */
    volatile U_SMMU_PTW_STATUS_S2          SMMU_PTW_STATUS_S2[4]       ; /* EB4 */
    volatile U_SMMU_PMCG_EVCNTRN_0         SMMU_PMCG_EVCNTRN_0[8]      ; /* 20000 */
    volatile U_SMMU_PMCG_EVCNTRN_1         SMMU_PMCG_EVCNTRN_1[8]      ; /* 20004 */
    volatile U_SMMU_PMCG_EVTYPERN          SMMU_PMCG_EVTYPERN[8]       ; /* 20400 */
    volatile U_SMMU_PMCG_SVRN_0            SMMU_PMCG_SVRN_0[8]         ; /* 20600 */
    volatile U_SMMU_PMCG_SVRN_1            SMMU_PMCG_SVRN_1[8]         ; /* 20604 */
    volatile U_SMMU_PMCG_SMRN              SMMU_PMCG_SMRN[8]           ; /* 20A00 */
    volatile U_SMMU_PMCG_CNTENSET0_0       SMMU_PMCG_CNTENSET0_0       ; /* 20C00 */
    volatile U_SMMU_PMCG_CNTENSET0_1       SMMU_PMCG_CNTENSET0_1       ; /* 20C04 */
    volatile U_SMMU_PMCG_CNTENCLR0_0       SMMU_PMCG_CNTENCLR0_0       ; /* 20C20 */
    volatile U_SMMU_PMCG_CNTENCLR0_1       SMMU_PMCG_CNTENCLR0_1       ; /* 20C24 */
    volatile U_SMMU_PMCG_INTENSET0_0       SMMU_PMCG_INTENSET0_0       ; /* 20C40 */
    volatile U_SMMU_PMCG_INTENSET0_1       SMMU_PMCG_INTENSET0_1       ; /* 20C44 */
    volatile U_SMMU_PMCG_INTENCLR0_0       SMMU_PMCG_INTENCLR0_0       ; /* 20C60 */
    volatile U_SMMU_PMCG_INTENCLR0_1       SMMU_PMCG_INTENCLR0_1       ; /* 20C64 */
    volatile U_SMMU_PMCG_OVSCLR0_0         SMMU_PMCG_OVSCLR0_0         ; /* 20C80 */
    volatile U_SMMU_PMCG_OVSCLR0_1         SMMU_PMCG_OVSCLR0_1         ; /* 20C84 */
    volatile U_SMMU_PMCG_OVSSET0_0         SMMU_PMCG_OVSSET0_0         ; /* 20CC0 */
    volatile U_SMMU_PMCG_OVSSET0_1         SMMU_PMCG_OVSSET0_1         ; /* 20CC4 */
    volatile U_SMMU_PMCG_CAPR              SMMU_PMCG_CAPR              ; /* 20D88 */
    volatile U_SMMU_PMCG_SCR               SMMU_PMCG_SCR               ; /* 20DF8 */
    volatile U_SMMU_PMCG_CFGR              SMMU_PMCG_CFGR              ; /* 20E00 */
    volatile U_SMMU_PMCG_CR                SMMU_PMCG_CR                ; /* 20E04 */
    volatile U_SMMU_PMCG_CEID0_0           SMMU_PMCG_CEID0_0           ; /* 20E20 */
    volatile U_SMMU_PMCG_CEID0_1           SMMU_PMCG_CEID0_1           ; /* 20E24 */
    volatile U_SMMU_PMCG_CEID1_0           SMMU_PMCG_CEID1_0           ; /* 20E28 */
    volatile U_SMMU_PMCG_CEID1_1           SMMU_PMCG_CEID1_1           ; /* 20E2C */
    volatile U_SMMU_PMCG_IRQ_CTRL          SMMU_PMCG_IRQ_CTRL          ; /* 20E50 */
    volatile U_SMMU_PMCG_IRQ_CTRLACK       SMMU_PMCG_IRQ_CTRLACK       ; /* 20E54 */
    volatile U_SMMU_PMCG_IRQ_CFG0_0        SMMU_PMCG_IRQ_CFG0_0        ; /* 20E58 */
    volatile U_SMMU_PMCG_IRQ_CFG0_1        SMMU_PMCG_IRQ_CFG0_1        ; /* 20E5C */
    volatile U_SMMU_PMCG_IRQ_CFG1          SMMU_PMCG_IRQ_CFG1          ; /* 20E60 */
    volatile U_SMMU_PMCG_IRQ_CFG2          SMMU_PMCG_IRQ_CFG2          ; /* 20E64 */
    volatile U_SMMU_PMCG_IRQ_STATUS        SMMU_PMCG_IRQ_STATUS        ; /* 20E68 */
    volatile U_SMMU_PMCG_AIDR              SMMU_PMCG_AIDR              ; /* 20E70 */
    volatile U_SMMU_ERR_FR_0               SMMU_ERR_FR_0               ; /* 2000 */
    volatile U_SMMU_ERR_FR_1               SMMU_ERR_FR_1               ; /* 2004 */
    volatile U_SMMU_ERR_CTRL_0             SMMU_ERR_CTRL_0             ; /* 2008 */
    volatile U_SMMU_ERR_CTRL_1             SMMU_ERR_CTRL_1             ; /* 200C */
    volatile U_SMMU_ERR_STATUS_0           SMMU_ERR_STATUS_0           ; /* 2010 */
    volatile U_SMMU_ERR_STATUS_1           SMMU_ERR_STATUS_1           ; /* 2014 */
    volatile U_SMMU_ERR_ADDR_0             SMMU_ERR_ADDR_0             ; /* 2018 */
    volatile U_SMMU_ERR_ADDR_1             SMMU_ERR_ADDR_1             ; /* 201C */
    volatile U_SMMU_ERR_MISC0_0            SMMU_ERR_MISC0_0            ; /* 2020 */
    volatile U_SMMU_ERR_MISC0_1            SMMU_ERR_MISC0_1            ; /* 2024 */
    volatile U_SMMU_ERR_MISC1_0            SMMU_ERR_MISC1_0            ; /* 2028 */
    volatile U_SMMU_ERR_MISC1_1            SMMU_ERR_MISC1_1            ; /* 202C */

} S_smmu_REGS_TYPE;

/* Declare the struct pointor of the module smmu */
extern volatile S_smmu_REGS_TYPE *gopsmmuAllReg;

/* Declare the functions that set the member value */
int iSetSMMU_IDR0_ras(unsigned int uras);
int iSetSMMU_IDR0_st_level(unsigned int ust_level);
int iSetSMMU_IDR0_term_model(unsigned int uterm_model);
int iSetSMMU_IDR0_stall_model(unsigned int ustall_model);
int iSetSMMU_IDR0_ttendian(unsigned int uttendian);
int iSetSMMU_IDR0_vatos(unsigned int uvatos);
int iSetSMMU_IDR0_cd2l(unsigned int ucd2l);
int iSetSMMU_IDR0_vmid16(unsigned int uvmid16);
int iSetSMMU_IDR0_vmw(unsigned int uvmw);
int iSetSMMU_IDR0_pri(unsigned int upri);
int iSetSMMU_IDR0_atos(unsigned int uatos);
int iSetSMMU_IDR0_sev(unsigned int usev);
int iSetSMMU_IDR0_msi(unsigned int umsi);
int iSetSMMU_IDR0_asid16(unsigned int uasid16);
int iSetSMMU_IDR0_ns1ats(unsigned int uns1ats);
int iSetSMMU_IDR0_ats(unsigned int uats);
int iSetSMMU_IDR0_hyp(unsigned int uhyp);
int iSetSMMU_IDR0_dormhint(unsigned int udormhint);
int iSetSMMU_IDR0_httu(unsigned int uhttu);
int iSetSMMU_IDR0_btm(unsigned int ubtm);
int iSetSMMU_IDR0_cohacc(unsigned int ucohacc);
int iSetSMMU_IDR0_ttf(unsigned int uttf);
int iSetSMMU_IDR0_s1p(unsigned int us1p);
int iSetSMMU_IDR0_s2p(unsigned int us2p);
int iSetSMMU_IDR1_tables_preset(unsigned int utables_preset);
int iSetSMMU_IDR1_queues_preset(unsigned int uqueues_preset);
int iSetSMMU_IDR1_rel(unsigned int urel);
int iSetSMMU_IDR1_attr_types_ovr(unsigned int uattr_types_ovr);
int iSetSMMU_IDR1_attr_perms_ovr(unsigned int uattr_perms_ovr);
int iSetSMMU_IDR1_cmdqs(unsigned int ucmdqs);
int iSetSMMU_IDR1_eventqs(unsigned int ueventqs);
int iSetSMMU_IDR1_priqs(unsigned int upriqs);
int iSetSMMU_IDR1_ssidsize(unsigned int ussidsize);
int iSetSMMU_IDR1_sidsize(unsigned int usidsize);
int iSetSMMU_IDR2_ba_vatos(unsigned int uba_vatos);
int iSetSMMU_IDR3_had(unsigned int uhad);

int iSetSMMU_IDR5_stall_max(unsigned int ustall_max);
int iSetSMMU_IDR5_gran64k(unsigned int ugran64k);
int iSetSMMU_IDR5_gran16k(unsigned int ugran16k);
int iSetSMMU_IDR5_gran4k(unsigned int ugran4k);
int iSetSMMU_IDR5_oas(unsigned int uoas);
int iSetSMMU_IIDR_productid(unsigned int uproductid);
int iSetSMMU_IIDR_variant(unsigned int uvariant);
int iSetSMMU_IIDR_revision(unsigned int urevision);
int iSetSMMU_IIDR_implementer(unsigned int uimplementer);
int iSetSMMU_AIDR_archmajorrev(unsigned int uarchmajorrev);
int iSetSMMU_AIDR_archminorrev(unsigned int uarchminorrev);
int iSetSMMU_CR0_vmw(unsigned int uvmw);
int iSetSMMU_CR0_atschk(unsigned int uatschk);
int iSetSMMU_CR0_cmdqen(unsigned int ucmdqen);
int iSetSMMU_CR0_eventqen(unsigned int ueventqen);
int iSetSMMU_CR0_priqen(unsigned int upriqen);
int iSetSMMU_CR0_smmuen(unsigned int usmmuen);
int iSetSMMU_CR0ACK_vmw(unsigned int uvmw);
int iSetSMMU_CR0ACK_atschk(unsigned int uatschk);
int iSetSMMU_CR0ACK_cmdqen(unsigned int ucmdqen);
int iSetSMMU_CR0ACK_eventqen(unsigned int ueventqen);
int iSetSMMU_CR0ACK_priqen(unsigned int upriqen);
int iSetSMMU_CR0ACK_smmuen(unsigned int usmmuen);
int iSetSMMU_CR1_table_sh(unsigned int utable_sh);
int iSetSMMU_CR1_table_oc(unsigned int utable_oc);
int iSetSMMU_CR1_table_ic(unsigned int utable_ic);
int iSetSMMU_CR1_queue_sh(unsigned int uqueue_sh);
int iSetSMMU_CR1_queue_oc(unsigned int uqueue_oc);
int iSetSMMU_CR1_queue_ic(unsigned int uqueue_ic);
int iSetSMMU_CR2_ptm(unsigned int uptm);
int iSetSMMU_CR2_recinvsid(unsigned int urecinvsid);
int iSetSMMU_CR2_e2h(unsigned int ue2h);
int iSetSMMU_STATUSR0_dormant(unsigned int udormant);
int iSetSMMU_GBPA_updating(unsigned int uupdating);
int iSetSMMU_GBPA_abort(unsigned int uabort);
int iSetSMMU_GBPA_instcfg(unsigned int uinstcfg);
int iSetSMMU_GBPA_privcfg(unsigned int uprivcfg);
int iSetSMMU_GBPA_shcfg(unsigned int ushcfg);
int iSetSMMU_GBPA_alloccfg(unsigned int ualloccfg);
int iSetSMMU_GBPA_mtcfg(unsigned int umtcfg);
int iSetSMMU_GBPA_memattr(unsigned int umemattr);
int iSetSMMU_AGBPA_updating(unsigned int uupdating);
int iSetSMMU_AGBPA_abort(unsigned int uabort);
int iSetSMMU_AGBPA_instcfg(unsigned int uinstcfg);
int iSetSMMU_AGBPA_privcfg(unsigned int uprivcfg);
int iSetSMMU_AGBPA_shcfg(unsigned int ushcfg);
int iSetSMMU_AGBPA_alloccfg(unsigned int ualloccfg);
int iSetSMMU_AGBPA_mtcfg(unsigned int umtcfg);
int iSetSMMU_AGBPA_memattr(unsigned int umemattr);
int iSetSMMU_IRQ_CTRL_eventq_irqen(unsigned int ueventq_irqen);
int iSetSMMU_IRQ_CTRL_priq_irqen(unsigned int upriq_irqen);
int iSetSMMU_IRQ_CTRL_gerror_irqen(unsigned int ugerror_irqen);
int iSetSMMU_IRQ_CTRLACK_eventq_irqen(unsigned int ueventq_irqen);
int iSetSMMU_IRQ_CTRLACK_priq_irqen(unsigned int upriq_irqen);
int iSetSMMU_IRQ_CTRLACK_gerror_irqen(unsigned int ugerror_irqen);
int iSetSMMU_GERROR_msi_gerror_abt_err(unsigned int umsi_gerror_abt_err);
int iSetSMMU_GERROR_msi_priq_abt_err(unsigned int umsi_priq_abt_err);
int iSetSMMU_GERROR_msi_eventq_abt_err(unsigned int umsi_eventq_abt_err);
int iSetSMMU_GERROR_msi_cmdq_abt_err(unsigned int umsi_cmdq_abt_err);
int iSetSMMU_GERROR_priq_abt_err(unsigned int upriq_abt_err);
int iSetSMMU_GERROR_eventq_abt_err(unsigned int ueventq_abt_err);
int iSetSMMU_GERROR_cmdq_err(unsigned int ucmdq_err);
int iSetSMMU_GERRORN_msi_gerror_abt_err(unsigned int umsi_gerror_abt_err);
int iSetSMMU_GERRORN_msi_priq_abt_err(unsigned int umsi_priq_abt_err);
int iSetSMMU_GERRORN_msi_eventq_abt_err(unsigned int umsi_eventq_abt_err);
int iSetSMMU_GERRORN_msi_cmdq_abt_err(unsigned int umsi_cmdq_abt_err);
int iSetSMMU_GERRORN_priq_abt_err(unsigned int upriq_abt_err);
int iSetSMMU_GERRORN_eventq_abt_err(unsigned int ueventq_abt_err);
int iSetSMMU_GERRORN_cmdq_err(unsigned int ucmdq_err);
int iSetSMMU_GERROR_IRQ_CFG0_0_addr(unsigned int uaddr);
int iSetSMMU_GERROR_IRQ_CFG0_1_reserverd(unsigned int ureserverd);
int iSetSMMU_GERROR_IRQ_CFG0_1_addr(unsigned int uaddr);
int iSetSMMU_GERROR_IRQ_CFG1_data(unsigned int udata);
int iSetSMMU_GERROR_IRQ_CFG2_sh(unsigned int ush);
int iSetSMMU_GERROR_IRQ_CFG2_memattr(unsigned int umemattr);
int iSetSMMU_STRTAB_BASE0_addr(unsigned int uaddr);
int iSetSMMU_STRTAB_BASE1_ra(unsigned int ura);
int iSetSMMU_STRTAB_BASE1_addr(unsigned int uaddr);
int iSetSMMU_STRTAB_BASE_CFG_fmt(unsigned int ufmt);
int iSetSMMU_STRTAB_BASE_CFG_split(unsigned int usplit);
int iSetSMMU_STRTAB_BASE_CFG_log2size(unsigned int ulog2size);
int iSetSMMU_CMDQ_BASE0_addr(unsigned int uaddr);
int iSetSMMU_CMDQ_BASE0_log2size(unsigned int ulog2size);
int iSetSMMU_CMDQ_BASE1_ra(unsigned int ura);
int iSetSMMU_CMDQ_BASE1_addr(unsigned int uaddr);
int iSetSMMU_CMDQ_PROD_wr_wrap(unsigned int uwr_wrap);
int iSetSMMU_CMDQ_PROD_wr(unsigned int uwr);
int iSetSMMU_CMDQ_CONS_err(unsigned int uerr);
int iSetSMMU_CMDQ_CONS_rd_wrap(unsigned int urd_wrap);
int iSetSMMU_CMDQ_CONS_rd(unsigned int urd);
int iSetSMMU_EVENTQ_BASE0_addr(unsigned int uaddr);
int iSetSMMU_EVENTQ_BASE0_log2size(unsigned int ulog2size);
int iSetSMMU_EVENTQ_BASE1_wa(unsigned int uwa);
int iSetSMMU_EVENTQ_BASE1_addr(unsigned int uaddr);
int iSetSMMU_EVENTQ_PROD_ovflg(unsigned int uovflg);
int iSetSMMU_EVENTQ_PROD_wr_wrap(unsigned int uwr_wrap);
int iSetSMMU_EVENTQ_PROD_wr(unsigned int uwr);
int iSetSMMU_EVENTQ_CONS_ovackflg(unsigned int uovackflg);
int iSetSMMU_EVENTQ_CONS_rd_wrap(unsigned int urd_wrap);
int iSetSMMU_EVENTQ_CONS_rd(unsigned int urd);
int iSetSMMU_EVENTQ_IRQ_CFG0_0_addr(unsigned int uaddr);
int iSetSMMU_EVENTQ_IRQ_CFG0_1_addr(unsigned int uaddr);
int iSetSMMU_EVENTQ_IRQ_CFG1_data(unsigned int udata);
int iSetSMMU_EVENTQ_IRQ_CFG2_sh(unsigned int ush);
int iSetSMMU_EVENTQ_IRQ_CFG2_memattr(unsigned int umemattr);
int iSetSMMU_PRIQ_BASE0_addr(unsigned int uaddr);
int iSetSMMU_PRIQ_BASE0_log2size(unsigned int ulog2size);
int iSetSMMU_PRIQ_BASE1_wa(unsigned int uwa);
int iSetSMMU_PRIQ_BASE1_addr(unsigned int uaddr);
int iSetSMMU_PRIQ_PROD_ovflg(unsigned int uovflg);
int iSetSMMU_PRIQ_PROD_wr_wrap(unsigned int uwr_wrap);
int iSetSMMU_PRIQ_PROD_wr(unsigned int uwr);
int iSetSMMU_PRIQ_CONS_ovackflg(unsigned int uovackflg);
int iSetSMMU_PRIQ_CONS_rd_wrap(unsigned int urd_wrap);
int iSetSMMU_PRIQ_CONS_rd(unsigned int urd);
int iSetSMMU_PRIQ_IRQ_CFG0_0_addr(unsigned int uaddr);
int iSetSMMU_PRIQ_IRQ_CFG0_1_addr(unsigned int uaddr);
int iSetSMMU_PRIQ_IRQ_CFG1_data(unsigned int udata);
int iSetSMMU_PRIQ_IRQ_CFG2_lo(unsigned int ulo);
int iSetSMMU_PRIQ_IRQ_CFG2_sh(unsigned int ush);
int iSetSMMU_PRIQ_IRQ_CFG2_memattr(unsigned int umemattr);
int iSetSMMU_S_IDR0_stall_model(unsigned int ustall_model);
int iSetSMMU_S_IDR0_msi(unsigned int umsi);
int iSetSMMU_S_IDR1_secure_impl(unsigned int usecure_impl);
int iSetSMMU_S_IDR1_s_sidsize(unsigned int us_sidsize);

int iSetSMMU_S_CR0_nsstalld(unsigned int unsstalld);
int iSetSMMU_S_CR0_sif(unsigned int usif);
int iSetSMMU_S_CR0_cmdqen(unsigned int ucmdqen);
int iSetSMMU_S_CR0_eventqen(unsigned int ueventqen);
int iSetSMMU_S_CR0_smmuen(unsigned int usmmuen);
int iSetSMMU_S_CR0ACK_nsstalld(unsigned int unsstalld);
int iSetSMMU_S_CR0ACK_sif(unsigned int usif);
int iSetSMMU_S_CR0ACK_cmdqen(unsigned int ucmdqen);
int iSetSMMU_S_CR0ACK_eventqen(unsigned int ueventqen);
int iSetSMMU_S_CR0ACK_smmuen(unsigned int usmmuen);
int iSetSMMU_S_CR1_table_sh(unsigned int utable_sh);
int iSetSMMU_S_CR1_table_oc(unsigned int utable_oc);
int iSetSMMU_S_CR1_table_ic(unsigned int utable_ic);
int iSetSMMU_S_CR1_queue_sh(unsigned int uqueue_sh);
int iSetSMMU_S_CR1_queue_oc(unsigned int uqueue_oc);
int iSetSMMU_S_CR1_queue_ic(unsigned int uqueue_ic);
int iSetSMMU_S_CR2_ptm(unsigned int uptm);
int iSetSMMU_S_CR2_recinvsid(unsigned int urecinvsid);
int iSetSMMU_S_INIT_inv_all(unsigned int uinv_all);
int iSetSMMU_S_GBPA_updating(unsigned int uupdating);
int iSetSMMU_S_GBPA_abort(unsigned int uabort);
int iSetSMMU_S_GBPA_instcfg(unsigned int uinstcfg);
int iSetSMMU_S_GBPA_privcfg(unsigned int uprivcfg);
int iSetSMMU_S_GBPA_nscfg(unsigned int unscfg);
int iSetSMMU_S_GBPA_shcfg(unsigned int ushcfg);
int iSetSMMU_S_GBPA_alloccfg(unsigned int ualloccfg);
int iSetSMMU_S_GBPA_mtcfg(unsigned int umtcfg);
int iSetSMMU_S_GBPA_memattr(unsigned int umemattr);
int iSetSMMU_S_AGBPA_updating(unsigned int uupdating);
int iSetSMMU_S_AGBPA_abort(unsigned int uabort);
int iSetSMMU_S_AGBPA_instcfg(unsigned int uinstcfg);
int iSetSMMU_S_AGBPA_privcfg(unsigned int uprivcfg);
int iSetSMMU_S_AGBPA_nscfg(unsigned int unscfg);
int iSetSMMU_S_AGBPA_shcfg(unsigned int ushcfg);
int iSetSMMU_S_AGBPA_alloccfg(unsigned int ualloccfg);
int iSetSMMU_S_AGBPA_mtcfg(unsigned int umtcfg);
int iSetSMMU_S_AGBPA_memattr(unsigned int umemattr);
int iSetSMMU_S_IRQ_CTRL_eventq_irqen_s(unsigned int ueventq_irqen_s);
int iSetSMMU_S_IRQ_CTRL_priq_irqen_s(unsigned int upriq_irqen_s);
int iSetSMMU_S_IRQ_CTRL_gerror_irqen_s(unsigned int ugerror_irqen_s);
int iSetSMMU_S_IRQ_CTRLACK_eventq_irqen_s(unsigned int ueventq_irqen_s);
int iSetSMMU_S_IRQ_CTRLACK_priq_irqen_s(unsigned int upriq_irqen_s);
int iSetSMMU_S_IRQ_CTRLACK_gerror_irqen_s(unsigned int ugerror_irqen_s);
int iSetSMMU_S_GERROR_msi_gerror_abt_err(unsigned int umsi_gerror_abt_err);
int iSetSMMU_S_GERROR_msi_eventq_abt_err(unsigned int umsi_eventq_abt_err);
int iSetSMMU_S_GERROR_msi_cmdq_abt_err(unsigned int umsi_cmdq_abt_err);
int iSetSMMU_S_GERROR_eventq_abt_err(unsigned int ueventq_abt_err);
int iSetSMMU_S_GERROR_cmdq_err(unsigned int ucmdq_err);
int iSetSMMU_S_GERRORN_msi_gerror_abt_err(unsigned int umsi_gerror_abt_err);
int iSetSMMU_S_GERRORN_msi_eventq_abt_err(unsigned int umsi_eventq_abt_err);
int iSetSMMU_S_GERRORN_msi_cmdq_abt_err(unsigned int umsi_cmdq_abt_err);
int iSetSMMU_S_GERRORN_eventq_abt_err(unsigned int ueventq_abt_err);
int iSetSMMU_S_GERRORN_cmdq_err(unsigned int ucmdq_err);
int iSetSMMU_S_GERROR_IRQ_CFG0_0_addr(unsigned int uaddr);
int iSetSMMU_S_GERROR_IRQ_CFG0_1_reserverd(unsigned int ureserverd);
int iSetSMMU_S_GERROR_IRQ_CFG0_1_addr(unsigned int uaddr);
int iSetSMMU_S_GERROR_IRQ_CFG1_data(unsigned int udata);
int iSetSMMU_S_GERROR_IRQ_CFG2_sh(unsigned int ush);
int iSetSMMU_S_GERROR_IRQ_CFG2_memattr(unsigned int umemattr);
int iSetSMMU_S_STRTAB_BASE0_addr(unsigned int uaddr);
int iSetSMMU_S_STRTAB_BASE1_ra(unsigned int ura);
int iSetSMMU_S_STRTAB_BASE1_addr(unsigned int uaddr);
int iSetSMMU_S_STRTAB_BASE_CFG_fmt(unsigned int ufmt);
int iSetSMMU_S_STRTAB_BASE_CFG_split(unsigned int usplit);
int iSetSMMU_S_STRTAB_BASE_CFG_log2size(unsigned int ulog2size);
int iSetSMMU_S_CMDQ_BASE0_addr(unsigned int uaddr);
int iSetSMMU_S_CMDQ_BASE0_log2size(unsigned int ulog2size);
int iSetSMMU_S_CMDQ_BASE1_ra(unsigned int ura);
int iSetSMMU_S_CMDQ_BASE1_addr(unsigned int uaddr);
int iSetSMMU_S_CMDQ_PROD_wr_wrap(unsigned int uwr_wrap);
int iSetSMMU_S_CMDQ_PROD_wr(unsigned int uwr);
int iSetSMMU_S_CMDQ_CONS_err(unsigned int uerr);
int iSetSMMU_S_CMDQ_CONS_rd_wrap(unsigned int urd_wrap);
int iSetSMMU_S_CMDQ_CONS_rd(unsigned int urd);
int iSetSMMU_S_EVENTQ_BASE0_addr(unsigned int uaddr);
int iSetSMMU_S_EVENTQ_BASE0_log2size(unsigned int ulog2size);
int iSetSMMU_S_EVENTQ_BASE1_wa(unsigned int uwa);
int iSetSMMU_S_EVENTQ_BASE1_addr(unsigned int uaddr);
int iSetSMMU_S_EVENTQ_PROD_ovflg(unsigned int uovflg);
int iSetSMMU_S_EVENTQ_PROD_wr_wrap(unsigned int uwr_wrap);
int iSetSMMU_S_EVENTQ_PROD_wr(unsigned int uwr);
int iSetSMMU_S_EVENTQ_CONS_ovackflg(unsigned int uovackflg);
int iSetSMMU_S_EVENTQ_CONS_rd_wrap(unsigned int urd_wrap);
int iSetSMMU_S_EVENTQ_CONS_rd(unsigned int urd);
int iSetSMMU_S_EVENTQ_IRQ_CFG0_0_addr(unsigned int uaddr);
int iSetSMMU_S_EVENTQ_IRQ_CFG0_1_addr(unsigned int uaddr);
int iSetSMMU_S_EVENTQ_IRQ_CFG1_data(unsigned int udata);
int iSetSMMU_S_EVENTQ_IRQ_CFG2_sh(unsigned int ush);
int iSetSMMU_S_EVENTQ_IRQ_CFG2_memattr(unsigned int umemattr);
int iSetSMMU_USER_CONFIG0_pcie_invld_mode(unsigned int upcie_invld_mode);
int iSetSMMU_USER_CONFIG0_mpam_en(unsigned int umpam_en);
int iSetSMMU_USER_CONFIG0_l2_tlb_index_mode(unsigned int ul2_tlb_index_mode);
int iSetSMMU_USER_CONFIG0_stream_write_mode_tp(unsigned int ustream_write_mode_tp);
int iSetSMMU_USER_CONFIG0_stash_dieid1(unsigned int ustash_dieid1);
int iSetSMMU_USER_CONFIG0_stash_dieid0(unsigned int ustash_dieid0);
int iSetSMMU_USER_CONFIG0_writeback_spill_en(unsigned int uwriteback_spill_en);
int iSetSMMU_USER_CONFIG0_stream_write_mode_sp(unsigned int ustream_write_mode_sp);
int iSetSMMU_USER_CONFIG0_readonce_makeinvalid(unsigned int ureadonce_makeinvalid);
int iSetSMMU_USER_CONFIG0_ste_bypass_allocate_tlb_en(unsigned int uste_bypass_allocate_tlb_en);
int iSetSMMU_USER_CONFIG0_stream_req_opt(unsigned int ustream_req_opt);
int iSetSMMU_USER_CONFIG0_l2_allocate_l1_en(unsigned int ul2_allocate_l1_en);
int iSetSMMU_USER_CONFIG0_sky_bypass_rd_force(unsigned int usky_bypass_rd_force);
int iSetSMMU_USER_CONFIG0_sky_bypass_wr_force(unsigned int usky_bypass_wr_force);
int iSetSMMU_USER_CONFIG0_sky_bypass_en(unsigned int usky_bypass_en);
int iSetSMMU_USER_CONFIG0_l2_tlb_gs_set(unsigned int ul2_tlb_gs_set);
int iSetSMMU_USER_CONFIG0_page_cache_en(unsigned int upage_cache_en);
int iSetSMMU_USER_CONFIG0_walk_cache_en(unsigned int uwalk_cache_en);
int iSetSMMU_USER_CONFIG0_cmd_ots_en(unsigned int ucmd_ots_en);
int iSetSMMU_USER_CONFIG0_l2_tlb_en(unsigned int ul2_tlb_en);
int iSetSMMU_USER_CONFIG1_master7_gs(unsigned int umaster7_gs);
int iSetSMMU_USER_CONFIG1_master6_gs(unsigned int umaster6_gs);
int iSetSMMU_USER_CONFIG1_master5_gs(unsigned int umaster5_gs);
int iSetSMMU_USER_CONFIG1_master4_gs(unsigned int umaster4_gs);
int iSetSMMU_USER_CONFIG1_master3_gs(unsigned int umaster3_gs);
int iSetSMMU_USER_CONFIG1_master2_gs(unsigned int umaster2_gs);
int iSetSMMU_USER_CONFIG1_master1_gs(unsigned int umaster1_gs);
int iSetSMMU_USER_CONFIG1_master0_gs(unsigned int umaster0_gs);
int iSetSMMU_VERI_ID_version_id(unsigned int uversion_id);
int iSetSMMU_PROD_INFO_productid(unsigned int uproductid);
int iSetSMMU_PROD_INFO_variant(unsigned int uvariant);
int iSetSMMU_PROD_INFO_revision(unsigned int urevision);
int iSetSMMU_PROD_INFO_implementer(unsigned int uimplementer);
int iSetSMMU_USER_CONFIG2_inv_all_ns(unsigned int uinv_all_ns);
int iSetSMMU_PCIE_IRPT_EN_irpt_topcie_en(unsigned int uirpt_topcie_en);
int iSetSMMU_PCIE_IRPT_ADDR_irpt_topcie_addr(unsigned int uirpt_topcie_addr);
int iSetSMMU_PCIE_IRPT_DATA_irpt_topcie_data(unsigned int uirpt_topcie_data);
int iSetSMMU_USER_CONFIG3_reg_sky_not_block_int(unsigned int ureg_sky_not_block_int);
int iSetSMMU_USER_CONFIG3_reg_sky_not_block(unsigned int ureg_sky_not_block);
int iSetSMMU_USER_CONFIG3_reg_l2_inv_va_mode(unsigned int ureg_l2_inv_va_mode);
int iSetSMMU_USER_CONFIG3_reg_inv_va_disable(unsigned int ureg_inv_va_disable);
int iSetSMMU_USER_CONFIG3_reg_ats_mode(unsigned int ureg_ats_mode);
int iSetSMMU_USER_CONFIG3_reg_pri_mode(unsigned int ureg_pri_mode);
int iSetSMMU_USER_CONFIG3_iocache_comp_mode(unsigned int uiocache_comp_mode);
int iSetSMMU_USER_CONFIG3_ptw_invld_mode(unsigned int uptw_invld_mode);
int iSetSMMU_USER_CONFIG3_tocpa_en(unsigned int utocpa_en);
int iSetSMMU_USER_CONFIG3_stash_die_mode(unsigned int ustash_die_mode);
int iSetSMMU_USER_CONFIG3_ptw_qos(unsigned int uptw_qos);
int iSetSMMU_SKY_QUEUE_POINTER_SP_dfx_sky_queue_probe_id(unsigned int udfx_sky_queue_probe_id);
int iSetSMMU_SKY_QUEUE_ADDR_LOW_SP_dfx_sky_queue_probe_addr_low(unsigned int udfx_sky_queue_probe_addr_low);
int iSetSMMU_SKY_QUEUE_ADDR_HIGH_SP_dfx_sky_queue_probe_addr_high(unsigned int udfx_sky_queue_probe_addr_high);
int iSetSMMU_SKY_QUEUE_STAT0_SP_dfx_sky_queue_probe_mstid(unsigned int udfx_sky_queue_probe_mstid);
int iSetSMMU_SKY_QUEUE_STAT0_SP_dfx_sky_queue_probe_txnid(unsigned int udfx_sky_queue_probe_txnid);
int iSetSMMU_SKY_QUEUE_STAT0_SP_dfx_sky_queue_probe_stat(unsigned int udfx_sky_queue_probe_stat);
int iSetSMMU_SKY_QUEUE_STAT1_SP_dfx_sky_queue_probe_strmid(unsigned int udfx_sky_queue_probe_strmid);
int iSetSMMU_SKY_QUEUE_POINTER_TP_dfx_sky_queue_probe_id(unsigned int udfx_sky_queue_probe_id);
int iSetSMMU_SKY_QUEUE_ADDR_LOW_TP_dfx_sky_queue_probe_addr_low(unsigned int udfx_sky_queue_probe_addr_low);
int iSetSMMU_SKY_QUEUE_ADDR_HIGH_TP_dfx_sky_queue_probe_addr_high(unsigned int udfx_sky_queue_probe_addr_high);
int iSetSMMU_SKY_QUEUE_STAT0_TP_dfx_sky_queue_probe_mstid(unsigned int udfx_sky_queue_probe_mstid);
int iSetSMMU_SKY_QUEUE_STAT0_TP_dfx_sky_queue_probe_txnid(unsigned int udfx_sky_queue_probe_txnid);
int iSetSMMU_SKY_QUEUE_STAT0_TP_dfx_sky_queue_probe_stat(unsigned int udfx_sky_queue_probe_stat);
int iSetSMMU_SKY_QUEUE_STAT1_TP_dfx_sky_queue_probe_strmid(unsigned int udfx_sky_queue_probe_strmid);
int iSetSMMU_DFX_CMD_NUM_cmd_num_tp(unsigned int ucmd_num_tp);
int iSetSMMU_DFX_CMD_NUM_cmd_num_sp(unsigned int ucmd_num_sp);
int iSetSMMU_DFX_CMD_QUEUE_STAT_dfx_cmd_queue_stat(unsigned int udfx_cmd_queue_stat);
int iSetSMMU_DFX_FAULT_NUM_dfx_stall_irpt_tp(unsigned int udfx_stall_irpt_tp);
int iSetSMMU_DFX_FAULT_NUM_dfx_stall_irpt_sp(unsigned int udfx_stall_irpt_sp);
int iSetSMMU_DFX_FAULT_NUM_fault_cnt(unsigned int ufault_cnt);
int iSetSMMU_DFX_TEST_MONITOR_SP_block_axi_rd_norder_long(unsigned int ublock_axi_rd_norder_long);
int iSetSMMU_DFX_TEST_MONITOR_SP_block_axi_wr_norder_long(unsigned int ublock_axi_wr_norder_long);
int iSetSMMU_DFX_TEST_MONITOR_SP_block_axi_rd_norder(unsigned int ublock_axi_rd_norder);
int iSetSMMU_DFX_TEST_MONITOR_SP_block_axi_wr_norder(unsigned int ublock_axi_wr_norder);
int iSetSMMU_DFX_TEST_MONITOR_SP_block_axi_rd_order(unsigned int ublock_axi_rd_order);
int iSetSMMU_DFX_TEST_MONITOR_SP_block_axi_wr_order(unsigned int ublock_axi_wr_order);
int iSetSMMU_DFX_TEST_MONITOR_SP_block_axi_mst_num(unsigned int ublock_axi_mst_num);
int iSetSMMU_DFX_TEST_MONITOR_SP_dfx_sky_queue_valud_num(unsigned int udfx_sky_queue_valud_num);
int iSetSMMU_DFX_TEST_MONITOR_TP_block_axi_rd_norder_long(unsigned int ublock_axi_rd_norder_long);
int iSetSMMU_DFX_TEST_MONITOR_TP_block_axi_wr_norder_long(unsigned int ublock_axi_wr_norder_long);
int iSetSMMU_DFX_TEST_MONITOR_TP_block_axi_rd_norder(unsigned int ublock_axi_rd_norder);
int iSetSMMU_DFX_TEST_MONITOR_TP_block_axi_wr_norder(unsigned int ublock_axi_wr_norder);
int iSetSMMU_DFX_TEST_MONITOR_TP_block_axi_rd_order(unsigned int ublock_axi_rd_order);
int iSetSMMU_DFX_TEST_MONITOR_TP_block_axi_wr_order(unsigned int ublock_axi_wr_order);
int iSetSMMU_DFX_TEST_MONITOR_TP_block_axi_mst_num(unsigned int ublock_axi_mst_num);
int iSetSMMU_DFX_TEST_MONITOR_TP_dfx_sky_queue_valud_num(unsigned int udfx_sky_queue_valud_num);
int iSetSMMU_DFX_ECC_MONITOR_axi_ecc_err_tp_cnt(unsigned int uaxi_ecc_err_tp_cnt);
int iSetSMMU_DFX_ECC_MONITOR_axi_ecc_err_sp_cnt(unsigned int uaxi_ecc_err_sp_cnt);
int iSetSMMU_DFX_ECC_MONITOR_cntxt_cache_ecc_cnt(unsigned int ucntxt_cache_ecc_cnt);
int iSetSMMU_DFX_ECC_MONITOR_l2_ecc_cnt(unsigned int ul2_ecc_cnt);
int iSetSMMU_STALL_QUEUE_STAT0_SP_dfx_sky_queue_stall_strmid(unsigned int udfx_sky_queue_stall_strmid);
int iSetSMMU_STALL_QUEUE_STAT1_SP_dfx_sky_queue_stall_ns(unsigned int udfx_sky_queue_stall_ns);
int iSetSMMU_STALL_QUEUE_STAT1_SP_dfx_sky_queue_stall_txnid(unsigned int udfx_sky_queue_stall_txnid);
int iSetSMMU_STALL_QUEUE_STAT0_TP_dfx_sky_queue_stall_strmid(unsigned int udfx_sky_queue_stall_strmid);
int iSetSMMU_STALL_QUEUE_STAT1_TP_dfx_sky_queue_stall_ns(unsigned int udfx_sky_queue_stall_ns);
int iSetSMMU_STALL_QUEUE_STAT1_TP_dfx_sky_queue_stall_txnid(unsigned int udfx_sky_queue_stall_txnid);
int iSetSMMU_ECC_INJECT_inject_2bit_en(unsigned int uinject_2bit_en);
int iSetSMMU_ECC_INJECT_inject_tcu_en(unsigned int uinject_tcu_en);
int iSetSMMU_ECC_INJECT_inject_tbu_en(unsigned int uinject_tbu_en);
int iSetSMMU_ECC_INJECT_inject_axi_en(unsigned int uinject_axi_en);
int iSetSMMU_ECC_INJECT_inject_2bit_sel(unsigned int uinject_2bit_sel);
int iSetSMMU_ECC_INJECT_inject_1bit_sel(unsigned int uinject_1bit_sel);
int iSetSMMU_PTW_STATUS_dfx_ptw_status(unsigned int udfx_ptw_status);
int iSetSMMU_PTW_STATUS_S2_dfx_ptw_status_s2(unsigned int udfx_ptw_status_s2);
int iSetSMMU_PMCG_EVCNTRN_0_evcnt_0(unsigned int uevcnt_0);
int iSetSMMU_PMCG_EVCNTRN_1_evcnt_1(unsigned int uevcnt_1);
int iSetSMMU_PMCG_EVTYPERN_ovfcap(unsigned int uovfcap);
int iSetSMMU_PMCG_EVTYPERN_filter_sec_sid(unsigned int ufilter_sec_sid);
int iSetSMMU_PMCG_EVTYPERN_filter_sid_span(unsigned int ufilter_sid_span);
int iSetSMMU_PMCG_EVTYPERN_event(unsigned int uevent);
int iSetSMMU_PMCG_SVRN_0_svr0(unsigned int usvr0);
int iSetSMMU_PMCG_SVRN_1_svr1(unsigned int usvr1);
int iSetSMMU_PMCG_SMRN_smr(unsigned int usmr);
int iSetSMMU_PMCG_CNTENSET0_0_cnten(unsigned int ucnten);
int iSetSMMU_PMCG_CNTENSET0_1_cnten(unsigned int ucnten);
int iSetSMMU_PMCG_CNTENCLR0_0_cntclr(unsigned int ucntclr);
int iSetSMMU_PMCG_CNTENCLR0_1_cntclr(unsigned int ucntclr);
int iSetSMMU_PMCG_INTENSET0_0_inten(unsigned int uinten);
int iSetSMMU_PMCG_INTENSET0_1_inten(unsigned int uinten);
int iSetSMMU_PMCG_INTENCLR0_0_intclr(unsigned int uintclr);
int iSetSMMU_PMCG_INTENCLR0_1_intclr(unsigned int uintclr);
int iSetSMMU_PMCG_OVSCLR0_0_ovs(unsigned int uovs);
int iSetSMMU_PMCG_OVSCLR0_1_ovs(unsigned int uovs);
int iSetSMMU_PMCG_OVSSET0_0_ovs(unsigned int uovs);
int iSetSMMU_PMCG_OVSSET0_1_ovs(unsigned int uovs);
int iSetSMMU_PMCG_CAPR_capture(unsigned int ucapture);
int iSetSMMU_PMCG_SCR_readone(unsigned int ureadone);
int iSetSMMU_PMCG_SCR_nsmsi(unsigned int unsmsi);
int iSetSMMU_PMCG_SCR_nsra(unsigned int unsra);
int iSetSMMU_PMCG_SCR_so(unsigned int uso);
int iSetSMMU_PMCG_CFGR_sid_filter_type(unsigned int usid_filter_type);
int iSetSMMU_PMCG_CFGR_capture(unsigned int ucapture);
int iSetSMMU_PMCG_CFGR_msi(unsigned int umsi);
int iSetSMMU_PMCG_CFGR_reloc_ctrs(unsigned int ureloc_ctrs);
int iSetSMMU_PMCG_CFGR_size(unsigned int usize);
int iSetSMMU_PMCG_CFGR_nctr(unsigned int unctr);
int iSetSMMU_PMCG_CR_e(unsigned int ue);
int iSetSMMU_PMCG_CEID0_0_event_en(unsigned int uevent_en);
int iSetSMMU_PMCG_CEID0_1_event_en(unsigned int uevent_en);
int iSetSMMU_PMCG_CEID1_0_event_en(unsigned int uevent_en);
int iSetSMMU_PMCG_CEID1_1_event_en(unsigned int uevent_en);
int iSetSMMU_PMCG_IRQ_CTRL_irqen(unsigned int uirqen);
int iSetSMMU_PMCG_IRQ_CTRLACK_irqen(unsigned int uirqen);
int iSetSMMU_PMCG_IRQ_CFG0_0_addr(unsigned int uaddr);
int iSetSMMU_PMCG_IRQ_CFG0_1_addr(unsigned int uaddr);
int iSetSMMU_PMCG_IRQ_CFG1_data(unsigned int udata);
int iSetSMMU_PMCG_IRQ_CFG2_sh(unsigned int ush);
int iSetSMMU_PMCG_IRQ_CFG2_memattr(unsigned int umemattr);
int iSetSMMU_PMCG_IRQ_STATUS_irq_abt(unsigned int uirq_abt);
int iSetSMMU_PMCG_AIDR_archmajorrev(unsigned int uarchmajorrev);
int iSetSMMU_PMCG_AIDR_archminorrev(unsigned int uarchminorrev);
int iSetSMMU_ERR_FR_0_ceo(unsigned int uceo);
int iSetSMMU_ERR_FR_0_dui(unsigned int udui);
int iSetSMMU_ERR_FR_0_rp(unsigned int urp);
int iSetSMMU_ERR_FR_0_cec(unsigned int ucec);
int iSetSMMU_ERR_FR_0_cfi(unsigned int ucfi);
int iSetSMMU_ERR_FR_0_ue(unsigned int uue);
int iSetSMMU_ERR_FR_0_fi(unsigned int ufi);
int iSetSMMU_ERR_FR_0_ui(unsigned int uui);
int iSetSMMU_ERR_FR_0_ed(unsigned int ued);

int iSetSMMU_ERR_CTRL_0_dui(unsigned int udui);
int iSetSMMU_ERR_CTRL_0_cfi(unsigned int ucfi);
int iSetSMMU_ERR_CTRL_0_ue(unsigned int uue);
int iSetSMMU_ERR_CTRL_0_fi(unsigned int ufi);
int iSetSMMU_ERR_CTRL_0_ui(unsigned int uui);
int iSetSMMU_ERR_CTRL_0_ed(unsigned int ued);

int iSetSMMU_ERR_STATUS_0_av(unsigned int uav);
int iSetSMMU_ERR_STATUS_0_v(unsigned int uv);
int iSetSMMU_ERR_STATUS_0_ue(unsigned int uue);
int iSetSMMU_ERR_STATUS_0_er(unsigned int uer);
int iSetSMMU_ERR_STATUS_0_of(unsigned int uof);
int iSetSMMU_ERR_STATUS_0_mv(unsigned int umv);
int iSetSMMU_ERR_STATUS_0_ce(unsigned int uce);
int iSetSMMU_ERR_STATUS_0_de(unsigned int ude);
int iSetSMMU_ERR_STATUS_0_pn(unsigned int upn);
int iSetSMMU_ERR_STATUS_0_uet(unsigned int uuet);
int iSetSMMU_ERR_STATUS_0_ierr(unsigned int uierr);
int iSetSMMU_ERR_STATUS_0_serr(unsigned int userr);

int iSetSMMU_ERR_ADDR_0_err_addr_low(unsigned int uerr_addr_low);
int iSetSMMU_ERR_ADDR_1_addr_ns(unsigned int uaddr_ns);
int iSetSMMU_ERR_ADDR_1_addr_ai(unsigned int uaddr_ai);
int iSetSMMU_ERR_ADDR_1_rserved(unsigned int urserved);
int iSetSMMU_ERR_ADDR_1_err_addr_high(unsigned int uerr_addr_high);

int iSetSMMU_ERR_MISC0_1_ecc_err_ovflow(unsigned int uecc_err_ovflow);
int iSetSMMU_ERR_MISC0_1_ecc_err_cnt(unsigned int uecc_err_cnt);



#endif // __SMMU_C_UNION_DEFINE_H__
